Partilhar via


IfStatementSyntax.Else Property

Definition

Gets an ElseClauseSyntax that represents the statement to be executed when the condition is false if such statement exists.

public:
 property Microsoft::CodeAnalysis::CSharp::Syntax::ElseClauseSyntax ^ Else { Microsoft::CodeAnalysis::CSharp::Syntax::ElseClauseSyntax ^ get(); };
public Microsoft.CodeAnalysis.CSharp.Syntax.ElseClauseSyntax Else { get; }
public Microsoft.CodeAnalysis.CSharp.Syntax.ElseClauseSyntax? Else { get; }
member this.Else : Microsoft.CodeAnalysis.CSharp.Syntax.ElseClauseSyntax
Public ReadOnly Property Else As ElseClauseSyntax

Property Value

Applies to