Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
RuleCollection complexType

RuleCollection complexType (app manifest schema v1.1)

Office Add-ins

Defines a collection of rules and the logical operator to use when evaluating them.

Last modified: March 09, 2015

Note Note

The name "apps for Office" is changing to "Office Add-ins". During the transition, the documentation and the UI of some Office host applications and Visual Studio tools might still use the term "apps for Office".

Namespace

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

Schema file

offappmanifest.xsd

Extension base

Rule

<xs:complexType name="RuleCollection">
    <xs:complexContent>
        <xs:extension base="Rule">
            <xs:sequence>
                <xs:element name="Rule" type="Rule" minOccurs="1" maxOccurs="unbounded"></xs:element>
            </xs:sequence>
            <xs:attribute name="Mode" type="LogicalOperator" use="required" />
        </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

Element

Type

Description

Rule

Rule

Specifies the list of rules that this collection contains.

Attributes

Attribute

Type

Required

Description

Possible values

Mode

LogicalOperator

required

Specifies the logical operator to use when evaluating this rule collection.

Values of the LogicalOperator type.

Show:
© 2015 Microsoft