IMenuCommand Interface

 

Determines whether the command appears on the menu.

Namespace:   Microsoft.VisualStudio.Modeling.ExtensionEnablement
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

public interface class IMenuCommand

NameDescription
System_CAPS_pubpropertyEnabled

Set to true to allow the user to invoke the command. If false, the label will be grayed out if it is visible.

System_CAPS_pubpropertyText

Set the label that identifies this command in the menu. You do not need to set this unless you want the label to change.

System_CAPS_pubpropertyVisible

Set to true to have the command appear in the menu.

Return to top
Show: