AxHost.State Class
Encapsulates the persisted state of an ActiveX control.
For a list of all members of this type, see AxHost.State Members.
System.Object
System.Windows.Forms.AxHost.State
[Visual Basic] <Serializable> Public Class AxHost.State Implements ISerializable [C#] [Serializable] public class AxHost.State : ISerializable [C++] [Serializable] public __gc class AxHost.State : public ISerializable [JScript] public Serializable class AxHost.State implements ISerializable
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Remarks
The AxHost.State can be retrieved using the AxHost.OcxState property, or by reading the control's state from a data stream.
For more information, see the documentation for IPersistStream and IPersistPropertyBag in the MSDN library. IPersistStream can be found in the interface reference section of the COM SDK documentation, and IPersistPropertyBag can be found in the COM Fundamentals interface reference section of the COM SDK documentation.
Requirements
Namespace: System.Windows.Forms
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
See Also
AxHost.State Members | System.Windows.Forms Namespace | OcxState