CommandSet.GetDynamicCommandAnchor<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.