共用方式為


CommandSet.UnregisterDynamicCommand(String) Method

Definition

Unregister a command.

public void UnregisterDynamicCommand (string commandId);
member this.UnregisterDynamicCommand : string -> unit
Public Sub UnregisterDynamicCommand (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