OleMenuCommand.Text Property

Gets or sets the text for the command.

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

Syntax

'宣言
Public Overridable Property Text As String
'使用
Dim instance As OleMenuCommand
Dim value As String

value = instance.Text

instance.Text = value
public virtual string Text { get; set; }
public:
virtual 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

The text for the command.

Permissions

See Also

Reference

OleMenuCommand Class

OleMenuCommand Members

Microsoft.VisualStudio.Shell Namespace