共用方式為


ICommandExtension.Text 屬性

識別此指令在功能表中可見的標籤。

命名空間:  Microsoft.VisualStudio.Modeling.ExtensionEnablement
組件:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.11.0.dll 中)

語法

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

屬性值

型別:System.String
如果您想要每次變更標籤顯示的功能表,請將設定command.Text在QueryStatus(command)。

.NET Framework 安全性

請參閱

參考

ICommandExtension 介面

Microsoft.VisualStudio.Modeling.ExtensionEnablement 命名空間