Partager via


OleMenuCommand.Text Property

Gets or sets the text for the command.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Overridable Property Text As String
public virtual string Text { get; set; }
public:
virtual property String^ Text {
    String^ get ();
    void set (String^ value);
}
abstract Text : string with get, set 
override Text : string with get, set
function get Text () : String 
function set Text (value : String)

Property Value

Type: String
The text for the command.

Implements

IOleMenuCommand.Text

.NET Framework Security

See Also

Reference

OleMenuCommand Class

Microsoft.VisualStudio.Shell Namespace