InfoPathControl2 interface

Defines methods used from the implementation of an ActiveX control for initializing, uninitializing, enabling, disabling, and saving the state of a control.

Namespace:  Microsoft.Office.Interop.InfoPath
Assembly:  Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)

Syntax

'Declaration
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("096CD77D-0786-11D1-95FA-0080C78EE3BB")> _
Public Interface InfoPathControl2 _
    Inherits InfoPathControl
'Usage
Dim instance As InfoPathControl2
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("096CD77D-0786-11D1-95FA-0080C78EE3BB")]
public interface InfoPathControl2 : InfoPathControl

Remarks

The InfoPathControl2 and InfoPathControlSite objects and their methods and properties are designed to be used only from the implementation of an ActiveX control. These objects and their members are not supported in InfoPath form code. For more information on how to create ActiveX controls that work with InfoPath, see the InfoPath Developer Center (https://msdn.microsoft.com/infopath).

See also

Reference

InfoPathControl2 members

Microsoft.Office.Interop.InfoPath namespace