共用方式為


IfNeg Element (View)

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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

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

Attributes

Attribute

Description

None

N/A

Child Elements

Expr1, Expr2

Parent Elements

Numerous

Occurrences

Minimum: 0

Maximum: Unbounded