Share via


InfoPathControl.SaveState method

Defines a method that InfoPath calls when it needs to save the state of an instance of the control in a view.

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

Syntax

'Declaration
Sub SaveState
'Usage
Dim instance As InfoPathControl

instance.SaveState()
void SaveState()

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 (https://msdn.microsoft.com/infopath).

See also

Reference

InfoPathControl interface

InfoPathControl members

Microsoft.Office.Interop.InfoPath namespace