InfoPathControl Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines methods used from the implementation of an ActiveX control for initializing, uninitializing, enabling, disabling, and saving the state of a control.
public interface class InfoPathControl
[System.Runtime.InteropServices.Guid("096CD68E-0786-11D1-95FA-0080C78EE3BB")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface InfoPathControl
type InfoPathControl = interface
Public Interface InfoPathControl
- Derived
- Attributes
Remarks
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 (http://msdn.microsoft.com/infopath).
Methods
Enable(Boolean) |
Defines a method that must be provided by the developer for InfoPath to call when it needs to enable or disable an instance of the control in a view. |
Init(InfoPathControlSite) |
Defines a method that must be provided by the developer to perform any initialization routines required when an instance of the control is added to an InfoPath form. |
SaveState() |
Defines a method that InfoPath calls when it needs to save the state of an instance of the control in a view. |
Uninit() |
Defines a method that must be provided by the developer to perform any clean up routines that are required before an instance of the control is removed from a view. |