共用方式為


IOleMenuCommand.Text Property

Gets or sets the text.

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

Syntax

'宣告
Property Text As String
string Text { get; set; }

Property Value

Type: System.String
The text.

.NET Framework Security

See Also

Reference

IOleMenuCommand Interface

Microsoft.VisualStudio.Shell Namespace