다음을 통해 공유


CommandSet.GetDynamicCommandAnchor<T> Method

Definition

Gets a registered command instance on this command set.

public Microsoft.VisualStudio.Extensibility.Commands.DynamicCommandAnchor GetDynamicCommandAnchor<T> ();
member this.GetDynamicCommandAnchor : unit -> Microsoft.VisualStudio.Extensibility.Commands.DynamicCommandAnchor
Public Function GetDynamicCommandAnchor(Of T) () As DynamicCommandAnchor

Type Parameters

T

The type defining the command anchor.

Returns

an instance of ICommand to help with setting command state.

Applies to