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
'Déclaration
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
- 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