In Element (Query)

Applies to: SharePoint Foundation 2010

Specifies whether the value of a list item for the field specified by the FieldRef element is equal to one of the values specified by the Values element.

<In>
  <FieldRef Name = "Field_Name"/>
  <Values>    <Value Type = "Field_Type"/>
  </Values>  <XML />
</In>

Attributes

Attribute

Description

None

N/A

Child Elements

FieldRef, Values, XML

Parent Elements

And, Or, Where

Occurrences

Minimum: 0

Maximum: Unbounded

Remarks

The In element does not support the use of negation operators such as Neq or NotIncludes.