次の方法で共有


ItemIs complexType (apps for Office 1.1)

Defines a rule that evaluates to true if the selected item is of the specified type.

Introduced in

apps for Office Manifest Schema Reference v1.0

Type information

Namespace

https://schemas.microsoft.com/office/appforoffice/1.1

Schema file

OfficeAppManifestv1.1.xsd

Extension base

None

Definition

<xs:complexType name="ItemIs">
    <xs:complexContent>
        <xs:extension base="Rule">
            <xs:attribute name="ItemType" type="ItemType" use="required" />
            <xs:attribute name="FormType" type="ItemFormType" use="required" />
            <xs:attribute name="ItemClass" type="NonEmptyString" use="optional" />
            <xs:attribute name="IncludeSubClasses" type="xs:boolean" use="optional" />
        </xs:extension>
    </xs:complexContent>
</xs:complexType>

Elements and attributes

スキーマで sequence、minOccurs、maxOccurs、choice などの具体的な要件が定義されている場合は、定義のセクションを参照してください。

Child elements

None.

Attributes

Attribute

Type

Required

Description

Possible values

FormType

ItemFormType

required

Specifies whether the app should appear in read or edit form for the item.

Values of the ItemFormType type.

IncludeSubClasses

xs:boolean

optional

Specifies whether the rule should evaluate to true if the item is of a subclass of the specified message class; the default is false.

Values of the xs:boolean type.

ItemClass

NonEmptyString

optional

Specifies the item message class to match.

Values of the NonEmptyString type.

ItemType

ItemType

required

Specifies the item type to match.

Values of the ItemType type.

Additional resources

See the following links for more information