Partager via


CommandSetLibrary.GetMenuCommands Method

Defines the list of menu commands that this CommandSet implements.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
Protected MustOverride Function GetMenuCommands As IList(Of MenuCommand)
protected abstract IList<MenuCommand> GetMenuCommands()
protected:
virtual IList<MenuCommand^>^ GetMenuCommands() abstract
abstract GetMenuCommands : unit -> IList<MenuCommand> 
protected abstract function GetMenuCommands() : IList<MenuCommand>

Return Value

Type: System.Collections.Generic.IList<MenuCommand>

.NET Framework Security

See Also

Reference

CommandSetLibrary Class

Microsoft.VisualStudio.Modeling.Shell Namespace