CUI.Page.FocusManager.unregisterCommandHandler(commandId, handler) Method

Applies to: SharePoint Foundation 2010

Unregisters the command with the specified ID from the specified command handler.

CUI.Page.FocusManager.unregisterCommandHandler(commandId, handler);

Parameters

commandId

Type: String

The ID of the command to unregister.

handler

Type: CUI.Page.ICommandHandler

The handler from which the command is unregistered.

Remarks

This method unregisters the command with the main command dispatcher if there are no other components registered for the command.

Applies To

CUI.Page.FocusManager Class

See Also

Reference

CUI.Page.FocusManager Methods

CUI.Page Namespace