ICommandExtension.Text Property

The visible label that identifies this command in the menu.

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

Syntax

'Declaration
ReadOnly Property Text As String
string Text { get; }
property String^ Text {
    String^ get ();
}
abstract Text : string with get
function get Text () : String

Property Value

Type: String
If you want the label to change each time the menu is displayed, set command.Text in QueryStatus(command).

.NET Framework Security

See Also

Reference

ICommandExtension Interface

Microsoft.VisualStudio.Modeling.ExtensionEnablement Namespace