共用方式為


IOleMenuCommand.Text Property

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

Syntax

'宣告
Property Text As String
    Get
    Set
'用途
Dim instance As IOleMenuCommand
Dim value As String

value = instance.Text

instance.Text = value
string Text { get; set; }
property String^ Text {
    String^ get ();
    void set (String^ value);
}
abstract Text : string with get, set
function get Text () : String
function set Text (value : String)

Property Value

Type: System.String

.NET Framework Security

See Also

Reference

IOleMenuCommand Interface

IOleMenuCommand Members

Microsoft.VisualStudio.Shell Namespace