Share via


OleMenuCommand.OleStatus Property

Gets the OLE command status code for this menu item.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property OleStatus As Integer
'Usage
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 flags that represent the OLE command status. The values include members of the OLECMDF enumeration.

.NET Framework Security

See Also

Reference

OleMenuCommand Class

OleMenuCommand Members

Microsoft.VisualStudio.Shell Namespace