共用方式為


SP.Ribbon.PageState.PageStateCommands Fields

Applies to: SharePoint Foundation 2010

The following table lists the fields of the SP.Ribbon.PageState.PageStateCommands class.

Fields

Name

Description

pageStateGroupApprove

Specifies a command ID of the Server ribbon to approve the page as a major version.

pageStateGroupCancelApproval

Specifies a command ID of the Server ribbon to cancel the submission of the page for approval as a major version.

pageStateGroupCheckin

Specifies a command ID of the Server ribbon to check in the page that is checked out.

pageStateGroupCheckout

Specifies a command ID of the Server ribbon to check out the page, which cannot be edited by anyone else while it remains checked out.

pageStateGroupDiscardCheckout

Specifies a command ID of the Server ribbon to check in the page, discarding any changes made to the page.

pageStateGroupDontSaveAndStop

Specifies a command ID of the Server ribbon to exit edit mode without saving the changes to the page.

pageStateGroupEdit

Specifies a command ID of the Server ribbon to edit the contents of the page.

pageStateGroupOverrideCheckout

Specifies a command ID of the Server ribbon to check in the page that is checked out to another user, discarding any changes made in the checked-out version.

pageStateGroupPublish

Specifies a command ID of the Server ribbon to publish a major version of the page.

pageStateGroupReject

Specifies a command ID of the Server ribbon to reject the submission of the page as a major version.

pageStateGroupSave

Specifies a command ID of the Server ribbon to save the changes to the page.

pageStateGroupSaveAndStop

Specifies a command ID of the Server ribbon to save the changes to the page and exit edit mode.

pageStateGroupStopEditing

Specifies a command ID of the Server ribbon to exit edit mode on the page.

pageStateGroupSubmitForApproval

Specifies a command ID of the Server ribbon to submit the page for approval as a major version.

pageStateGroupUnpublish

Specifies a command ID of the Server ribbon to change the current major version of the page to a minor version.

Applies To

SP.Ribbon.PageState.PageStateCommands Class

See Also

Reference

SP.Ribbon.PageState.PageStateCommands Methods

SP.Ribbon.PageState Namespace