共用方式為


OleMenuCommand.Text Property

Gets or sets the text for the command.

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

Syntax

'宣告
Public Overridable Property Text As String
public virtual string Text { get; set; }

Property Value

Type: System.String
The text for the command.

Implements

IOleMenuCommand.Text

.NET Framework Security

See Also

Reference

OleMenuCommand Class

Microsoft.VisualStudio.Shell Namespace