Expr1 Element
The document is archived and information here might be outdated

Expr1 Element

SharePoint Team Services 1.1

Used within an IfEqual element as part of a comparison with the value of Expr2. This element contains the CAML expression that is evaluated to determine the course of action for an IfEqual statement. The expressions can be any set of CAML elements that render text, or they can be other conditionals.



Related Elements

Parent ElementsChild Elements
IfEqualGetVar, ID, InNavBar, List, Property, QueryInfo, SetList


This example evaluates two expressions, and if they're equal, it conveys a holiday greeting, but if not, it conveys a different message.

  <Then>Happy Halloween!</Then>
  <Else>Just another day</Else>

See Also



© 2016 Microsoft