Compartir a través de


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

'Declaración
Public Property Text As String
    Get
    Set
public string Text { get; set; }
public:
property String^ Text {
    String^ get ();
    void set (String^ value);
}
member Text : string with get, set
function get Text () : String
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

Microsoft.VisualStudio.Data Namespace