Share via


InfoPathControl.SaveState Method

InfoPath Developer Reference

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

Version Information
 Version Added:  InfoPath 2003

Syntax

expression.SaveState

expression   An expression that returns a InfoPathControl object.

Return Value
[HRESULT]

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.

See Also