Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Previous Versions
.NET Framework 1.1
.NET Framework
Reference
AxHost.State Class

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2003/.NET Framework 1.1

Other versions are also available for the following:
.NET Framework Class Library
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

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker