共用方式為


CommandExtensionRegistrar.MenuService 屬性

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

語法

'宣告
Protected ReadOnly Property MenuService As IMenuCommandService
protected IMenuCommandService MenuService { get; }

屬性值

類型:System.ComponentModel.Design.IMenuCommandService

.NET Framework 安全性

請參閱

參考

CommandExtensionRegistrar 類別

Microsoft.VisualStudio.Modeling.Shell.ExtensionEnablement 命名空間