Determines whether the command appears on the menu.
Namespace:  Microsoft.VisualStudio.Modeling.ExtensionEnablement
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
声明
Public Interface IMenuCommand
public interface IMenuCommand
public interface class IMenuCommand
type IMenuCommand =  interface end
public interface IMenuCommand
The IMenuCommand type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | Enabled | Set to true to allow the user to invoke the command. If false, the label will be grayed out if it is visible. | 
| .gif) | Text | Set the label that identifies this command in the menu. You do not need to set this unless you want the label to change. | 
| .gif) | Visible | Set to true to have the command appear in the menu. | 
Top
See Also
Reference
Microsoft.VisualStudio.Modeling.ExtensionEnablement Namespace