OleCommandStatus.Text Property
Retrieves or sets the text displayed for this command.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
Public Property Text As String
Dim instance As OleCommandStatus
Dim value As String
value = instance.Text
instance.Text = value
public string Text { get; set; }
public:
property String^ Text {
String^ get ();
void set (String^ value);
}
public function get Text () : String
public function set Text (value : String)
Property Value
Type: System.String
Returns the text to display for the specified command.
Remarks
The command must have the TEXTCHANGES flag in the command table compiler (.ctc) file to change this value.
Permissions
- 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.