AxHost.State 类
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
封装 ActiveX 控件的持久状态。
public: ref class AxHost::State : System::Runtime::Serialization::ISerializable
public: ref class AxHost::State : IDisposable, System::Runtime::Serialization::ISerializable
C#
[System.ComponentModel.TypeConverter(typeof(System.ComponentModel.TypeConverter))]
[System.Serializable]
public class AxHost.State : System.Runtime.Serialization.ISerializable
C#
[System.ComponentModel.TypeConverter(typeof(System.ComponentModel.TypeConverter))]
[System.Serializable]
public class AxHost.State : IDisposable, System.Runtime.Serialization.ISerializable
[<System.ComponentModel.TypeConverter(typeof(System.ComponentModel.TypeConverter))>]
[<System.Serializable>]
type AxHost.State = class
interface ISerializable
[<System.ComponentModel.TypeConverter(typeof(System.ComponentModel.TypeConverter))>]
[<System.Serializable>]
type AxHost.State = class
interface ISerializable
interface IDisposable
Public Class AxHost.State
Implements ISerializable
Public Class AxHost.State
Implements IDisposable, ISerializable
- 继承
-
AxHost.State
- 属性
- 实现
AxHost.State可以使用 属性或通过从数据流中读取控件的状态来检索 AxHost.OcxState 。
有关详细信息,请参阅 IPersistStream 接口 和 IPersistPropertyBag 接口。
Ax |
初始化 AxHost.State 类的新实例以反序列化状态。 |
Ax |
初始化 AxHost.State 类的新实例以序列化状态。 |
Dispose() |
执行与释放或重置非托管资源关联的应用程序定义的任务。 |
Dispose(Boolean) |
封装 ActiveX 控件的持久状态。 |
Equals(Object) |
确定指定对象是否等于当前对象。 (继承自 Object) |
Get |
作为默认哈希函数。 (继承自 Object) |
Get |
获取当前实例的 Type。 (继承自 Object) |
Memberwise |
创建当前 Object 的浅表副本。 (继承自 Object) |
To |
返回表示当前对象的字符串。 (继承自 Object) |
ISerializable. |
使用将目标对象序列化所需的数据填充 SerializationInfo。 |
产品 | 版本 |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |