Partager via


IfNeg Element

The IfNeg element contains two Collaborative Application Markup Language (CAML) expressions and allows for conditional rendering based on whether or not the first expression contains a negative value. The first expression is rendered if it contains a negative value; if not, the second expression is rendered.

Syntax

<IfNeg>
   <Expr1></Expr1>
   <Expr2></Expr2>
</IfNeg>

Element Relationships

Child Elements
Expr1, Expr2