共用方式為


IfSubString Element (View)

Applies to: SharePoint Foundation 2010

Allows for conditional rendering based on whether a first expression (Expr1) is contained within a second expression (Expr2).

<IfSubString>
  <Expr1></Expr1>
  <Expr2></Expr2>
    <Then></Then>
  <Else></Else>
</IfSubString>

Attributes

Attribute

Description

None

N/A

Child Elements

Else, Expr1, Expr2, Then

Parent Elements

Numerous

Occurrences

Minimum: 0

Maximum: Unbounded