CommandSet.RegisterAnchoredCommand(IDynamicCommand, String) 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.
Register an existing command implementation that is to be parented to a dynamic command anchor.
public void RegisterAnchoredCommand (Microsoft.VisualStudio.Extensibility.Commands.IDynamicCommand command, string dynamicCommandAnchorIdentifier);
member this.RegisterAnchoredCommand : Microsoft.VisualStudio.Extensibility.Commands.IDynamicCommand * string -> unit
Public Sub RegisterAnchoredCommand (command As IDynamicCommand, dynamicCommandAnchorIdentifier As String)
Parameters
- command
- IDynamicCommand
Command instance to register.
- dynamicCommandAnchorIdentifier
- String
The identifier of the dynamic command anchor that the command should be anchored to.