Gets the OLE command status code for this menu item.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Public Overrides ReadOnly Property OleStatus As Integer
'使用
Dim instance As OleMenuCommand
Dim value As Integer
value = instance.OleStatus
public override int OleStatus { get; }
public:
virtual property int OleStatus {
int get () override;
}
public override function get OleStatus () : int
Property Value
Type: System.Int32
The status flags that reflects the state of this menu item.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.