共用方式為


CommandSetLibrary.GetMenuCommands 方法

定義此 CommandSet 實作的功能表命令的清單。

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

語法

'宣告
Protected MustOverride Function GetMenuCommands As IList(Of MenuCommand)
protected abstract IList<MenuCommand> GetMenuCommands()

傳回值

型別:System.Collections.Generic.IList<MenuCommand>

.NET Framework 安全性

請參閱

參考

CommandSetLibrary 類別

Microsoft.VisualStudio.Modeling.Shell 命名空間