다음을 통해 공유


CommandSet.Item[String] Property

Definition

Gets a registered command instance on this command set.

public Microsoft.VisualStudio.Extensibility.Commands.Command this[string commandId] { get; }
member this.Item(string) : Microsoft.VisualStudio.Extensibility.Commands.Command
Default Public ReadOnly Property Item(commandId As String) As Command

Parameters

commandId
String

Unique ID of the command in scope of the command set.

Property Value

an instance of ICommand to help with setting command state.

Applies to