Share via


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

'Declaration
Public Property Text As String
'Usage
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.

.NET Framework Security

See Also

Reference

OleCommandStatus Class

OleCommandStatus Members

Microsoft.VisualStudio.Data Namespace