OleMenuCommand.OleStatus Property

Gets the OLE command status code for this menu item.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

声明
Public Overrides ReadOnly Property OleStatus As Integer
    Get
用法
Dim instance As OleMenuCommand
Dim value As Integer

value = instance.OleStatus
public override int OleStatus { get; }
public:
virtual property int OleStatus {
    int get () override;
}
abstract OleStatus : int
override OleStatus : int
override function get OleStatus () : int

Property Value

Type: System.Int32
The status flags that reflects the state of this menu item.

.NET Framework Security

See Also

Reference

OleMenuCommand Class

OleMenuCommand Members

Microsoft.VisualStudio.Shell Namespace