CUI.Page.CommandDispatcher.unregisterMultipleCommandHandler(component, commands) Method

Applies to: SharePoint Foundation 2010

Unregisters a command handler for multiple commands with the specified IDs.

CUI.Page.CommandDispatcher.unregisterMultipleCommandHandler(component, commands);

Parameters

component

Type: CUI.Page.ICommandHandler

The handler that is unregistered.

commands

Type: String[]

The IDs of the commands for which this handler is unregistered.

Exceptions

Sys.Exception

component is null or undefined.

-or-

One of the elements of commands is null or undefined.

Remarks

If the handler is registered for the commands, this method removes it from handling the commands.

Applies To

CUI.Page.CommandDispatcher Class

See Also

Reference

CUI.Page.CommandDispatcher Methods

CUI.Page Namespace