MenuCommand.OleStatus 属性

获取此菜单项的 OLE 命令状态代码。

**命名空间:**System.ComponentModel.Design
**程序集:**System(在 system.dll 中)

语法

声明
Public Overridable ReadOnly Property OleStatus As Integer
用法
Dim instance As MenuCommand
Dim value As Integer

value = instance.OleStatus
public virtual int OleStatus { get; }
public:
virtual property int OleStatus {
    int get ();
}
/** @property */
public int get_OleStatus ()
public function get OleStatus () : int

属性值

一个整数,由反映此菜单项状态的状态标志组合而成。

平台

Windows 98、Windows 2000 SP4、Windows Millennium Edition、Windows Server 2003、Windows XP Media Center Edition、Windows XP Professional x64 Edition、Windows XP SP2、Windows XP Starter Edition

.NET Framework 并不是对每个平台的所有版本都提供支持。有关受支持版本的列表,请参见系统要求

版本信息

.NET Framework

受以下版本支持:2.0、1.1、1.0

请参见

参考

MenuCommand 类
MenuCommand 成员
System.ComponentModel.Design 命名空间