共用方式為


IfStatementSyntax.Else 屬性

定義

取得 ElseClauseSyntax,表示當條件存在時要執行的語句為 false。

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

屬性值

適用於