Expand Minimize

ItemHasRegularExpressionMatch complexType (app manifest schema v1.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.

Last modified: January 28, 2014

Namespace

http://schemas.microsoft.com/office/appforoffice/1.0

Schema file

offappmanifest.xsd

Extension base

Rule

<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>

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

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.

Community Additions

ADD
Show:
© 2014 Microsoft