Share via


InfoPathControlSite Interface

Represents the object that InfoPath passes to an ActiveX control when it is initialized in an InfoPath view.

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

Syntax

'Declaration
<GuidAttribute("096CD68F-0786-11D1-95FA-0080C78EE3BB")> _
Public Interface InfoPathControlSite
'Usage
Dim instance As InfoPathControlSite
[GuidAttribute("096CD68F-0786-11D1-95FA-0080C78EE3BB")]
public interface InfoPathControlSite

Remarks

The InfoPathControlSite object defines the XDocument property for accessing the XDocument object associated with a form, and the Node property for accessing the XML node to which the control is bound.

The InfoPathControlSite object should not be implemented by the developer of an ActiveX control. It represents an interface that is implemented by InfoPath itself.

The InfoPathControl 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

InfoPathControlSite Members

Microsoft.Office.Interop.InfoPath Namespace