Else Control

Ff747858.note(en-us,MSDN.10).gifNote:
Current information about Live Connect is now available in the Windows Live Developer Center. The information in the following sections is provided for legacy purposes only.

The Else control is used as part of a conditional statement. If the conditions that are defined by the If control are not met, the Else control displays a block of XML. It is referenced in markup by the else tag. The Else control must be used with the If Control.

The following example shows how to use the Else control together with the If control.

<wl:if
   cid="-0123456789"
   condition="online">
Markup to display if the condition is met.
<wl:else>Markup to display if the condition is not met.</wl:else>
</wl:if>

None.

Show: