共用方式為


SingleLineIfStatementSyntax.ElseClause Property

Definition

An "Else" clause to be executed if the condition expression evaluates as false.

public:
 property Microsoft::CodeAnalysis::VisualBasic::Syntax::SingleLineElseClauseSyntax ^ ElseClause { Microsoft::CodeAnalysis::VisualBasic::Syntax::SingleLineElseClauseSyntax ^ get(); };
public Microsoft.CodeAnalysis.VisualBasic.Syntax.SingleLineElseClauseSyntax ElseClause { get; }
member this.ElseClause : Microsoft.CodeAnalysis.VisualBasic.Syntax.SingleLineElseClauseSyntax
Public ReadOnly Property ElseClause As SingleLineElseClauseSyntax

Property Value

Remarks

This child is optional. If it is not present, then Nothing is returned.

Applies to