編輯

共用方式為


CommandUIHandler element (CommandUIHandlersType complexType)

(AppHostWebFeatures)

Note

The string app appears as part of or all of some element, attribute, and file names because SharePoint Add-ins were originally called "apps for SharePoint." To ensure backward compatibility, the schemas have not been changed.

Element information

Name Value
Element type CommandUIHandlerType
Namespace http://schemas.microsoft.com/sharepoint/
Schema file apphostwebfeatures.xsd

Definition

    <xs:element name="CommandUIHandler" type="CommandUIHandlerType" minOccurs="1" maxOccurs="unbounded"></xs:element>

Elements and attributes

If the schema defines specific requirements, such as sequence, minOccurs, maxOccurs, and choice, see the definition section.

Parent elements

Element

Type

Description

CommandUIHandlers

CommandUIHandlersType


Child elements

None.


Attributes

Attribute

Type

Required

Description

Possible values

Command

xs:string

required

Values of the xs:string type.

CommandAction

xs:string

required

Values of the xs:string type.

EnabledScript

xs:string

optional

Values of the xs:string type.