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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Modeling.ExtensionEnablement Namespace