Partilhar via


ICommandExtension.Text Property

The visible label that identifies this command in the menu.

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

Syntax

'Declaração
ReadOnly Property Text As String
    Get
string Text { get; }
property String^ Text {
    String^ get ();
}
abstract Text : string
function get Text () : String

Property Value

Type: System.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