OleCommandStatus 类

提供一个指定的OLE命令的状态。

继承层次结构

System.Object
  Microsoft.VisualStudio.Data.OleCommandStatus

命名空间:  Microsoft.VisualStudio.Data
程序集:  Microsoft.VisualStudio.Data(在 Microsoft.VisualStudio.Data.dll 中)

语法

声明
Public Class OleCommandStatus
public class OleCommandStatus
public ref class OleCommandStatus
type OleCommandStatus =  class end
public class OleCommandStatus

OleCommandStatus 类型公开以下成员。

构造函数

  名称 说明
公共方法 OleCommandStatus() 选件类构造函数。实例化 OleCommandStatus 选件类的nonparameterized实例。
公共方法 OleCommandStatus(Int32) 选件类构造函数。实例化 OleCommandStatus 选件类的参数化的实例。

页首

属性

  名称 说明
公共属性 Checked 检索或设置指示此命令淡出或检查。
公共属性 Enabled 检索或设置指示此命令是该值指示是否启用。
公共属性 Flags 检索或设置表示基础 OLECMDF 值。
公共属性 Supported 检索或设置指示此命令淡出支持。
公共属性 Text 检索或设置为该命令显示的文本。
公共属性 Visible 检索或设置指示此命令的值是否可见。

页首

方法

  名称 说明
公共方法 Equals 确定指定的对象是否等于当前对象。 (继承自 Object。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 GetHashCode 用作特定类型的哈希函数。 (继承自 Object。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参见

参考

Microsoft.VisualStudio.Data 命名空间

OleCommand