CUI.Page.CommandDispatcher.callCommandHandler(handler, commandId, properties, sequenceNumber) Method
Applies to: SharePoint Foundation 2010
In this article
Return Value
Remarks
Applies To
Calls the specified command handler to execute the command with the specified ID.
var value = CUI.Page.CommandDispatcher.callCommandHandler(handler, commandId, properties, sequenceNumber);
Parameters
handler
Type: CUI.Page.ICommandHandler
The handler that executes the command.
commandId
Type: String
The ID of the command to execute.
properties
Type: Object
The name/value pairs of the properties of the command. The property names of the object are the property names; the property values of the object are the property values.
sequenceNumber
Type: int
The sequence number of the indexer.
Return Value
Type: boolean
true if the command was handled successfully; otherwise, false.
Remarks
This method can be overridden in subclasses that want to modify the behavior when a handler is found for a command.
Applies To
CUI.Page.CommandDispatcher Class