Method Else
Else(IElement)
Sets the value produced when no branch matches.
public Case Else(IElement result)
Parameters
resultIElementThe fallback value.
Returns
- Case
This case expression, for method chaining.
Remarks
Calling this more than once replaces the previous fallback. Without it the case expression returns NULL when no branch matches.