Share via


DynamicCommandAnchor.RemoveCommand(String) Method

Definition

Unregister a command.

public void RemoveCommand (string commandId);
member this.RemoveCommand : string -> unit
Public Sub RemoveCommand (commandId As String)

Parameters

commandId
String

The ID of the command to unregister.

Exceptions

Thrown if the command to unregister does not exist.

Applies to