CUI.Page.UndoManager.handleCommand(commandId, properties, sequenceNumber) Method
Applies to: SharePoint Foundation 2010
In this article
Return Value
Remarks
Applies To
Executes the command with the specified ID, properties, and sequence number.
var value = CUI.Page.UndoManager.handleCommand(commandId, properties, sequenceNumber);
Parameters
commandId
Type: String
The ID of the command.
properties
Type: Object
The properties of the command. The property names are the names of the object’s properties; the property values are the values of the object’s properties.
sequenceNumber
Type: int
The sequence number of the command.
Return Value
Type: boolean
true if the operation is successful; otherwise, false.
Remarks
This method handles the command specified by the commandId parameter, and returns the operation state.