DynamicCommandAnchor.RemoveCommand(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.
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.