2.2.4.6 t:ContainsExpressionType Complex Type

The ContainsExpressionType complex type specifies a search expression that determines whether a given property contains the supplied constant string value. The ContainsExpressionType complex type extends the SearchExpressionType complex type, as specified in section 2.2.4.31.

 <xs:complexType name="ContainsExpressionType">
   <xs:complexContent>
     <xs:extension
       base="t:SearchExpressionType"
     >
       <xs:sequence>
         <xs:element
           ref="t:Path"
          />
         <xs:element name="Constant"
           type="t:ConstantValueType"
          />
       </xs:sequence>
       <xs:attribute name="ContainmentMode"
         type="t:ContainmentModeType"
         use="optional"
        />
       <xs:attribute name="ContainmentComparison"
         type="t:ContainmentComparisonType"
         use="optional"
        />
     </xs:extension>
   </xs:complexContent>
 </xs:complexType>
  

The following table lists the child elements of the ContainsExpressionType complex type.

Element

Type

Description

Path

t:Path ([MS-OXWSCDATA] section 2.2.3.8)

Specifies the property to use in a contains search expression. The Path element specifies a substitution group, as specified in [XMLSCHEMA0]. An element that is represented by the Path element substitutionGroup attribute MUST be present.

Constant

t:ConstantValueType ([MS-OXWSCDATA] section 2.2.4.23)

Specifies a constant value for a search restriction.

The following table lists the attribute definitions for the ContainsExpressionType complex type.

Attribute

Type

Description

ContainmentMode

t:ContainmentModeType (section 2.2.5.2)

Specifies the boundaries of a search.

ContainmentComparison

t:ContainmentComparisonType (section 2.2.5.1)

Specifies whether a search ignores cases and spaces.