次の方法で共有


ItemHasRegularExpressionMatch complexType (apps for Office 1.1)

Defines a rule that evaluates to true if a match for the specified regular expression can be found in the specified property of the item.

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="ItemHasRegularExpressionMatch">
    <xs:complexContent>
        <xs:extension base="Rule">
            <xs:attribute name="RegExName" type="NonEmptyString" use="required" />
            <xs:attribute name="RegExValue" type="NonEmptyString" use="required" />
            <xs:attribute name="PropertyName" type="PropertyName" use="required" />
            <xs:attribute name="IgnoreCase" 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

IgnoreCase

xs:boolean

optional

Specifies to ignore the case when executing the regular expression.

Values of the xs:boolean type.

PropertyName

PropertyName

required

Specifies the name of the property in which to look for matches.

Values of the PropertyName type.

RegExName

NonEmptyString

required

Specifies the name of the regular expression, so that it is subsequently possible to refer to it by code.

Values of the NonEmptyString type.

RegExValue

NonEmptyString

required

Specifies the regular expression to match.

Values of the NonEmptyString type.

Additional resources

See the following links for more information