Compartir a través de


ICommandExtension.Text Property

The visible label that identifies this command in the menu.

Namespace:  Microsoft.VisualStudio.Modeling.ExtensionEnablement
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.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: 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