共用方式為


OleMenuCommand.OleStatus Property

Gets the OLE command status code for this menu item.

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

Syntax

'宣告
Public Overrides ReadOnly Property OleStatus As Integer
public override int OleStatus { get; }

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

Microsoft.VisualStudio.Shell Namespace