CUI.Page.CommandDispatcher.unregisterCommandHandler(commandId, handler) Method
Applies to: SharePoint Foundation 2010
Unregisters a command handler for the command with the specified ID.
CUI.Page.CommandDispatcher.unregisterCommandHandler(commandId, handler);
Parameters
commandId
Type: String
The ID of the command for which the handler is unregistered.
handler
Type: CUI.Page.ICommandHandler
The handler to unregister.
Exceptions
Sys.Exception
commandId is null or undefined.
-or-
handler is null or undefined.
Remarks
This method does nothing if the handler has not been registered for this command.
Applies To
CUI.Page.CommandDispatcher Class