Partilhar via


IfStatementSyntax.WithElse(ElseClauseSyntax) Método

Definição

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::IfStatementSyntax ^ WithElse(Microsoft::CodeAnalysis::CSharp::Syntax::ElseClauseSyntax ^ else);
public Microsoft.CodeAnalysis.CSharp.Syntax.IfStatementSyntax WithElse (Microsoft.CodeAnalysis.CSharp.Syntax.ElseClauseSyntax else);
public Microsoft.CodeAnalysis.CSharp.Syntax.IfStatementSyntax WithElse (Microsoft.CodeAnalysis.CSharp.Syntax.ElseClauseSyntax? else);
member this.WithElse : Microsoft.CodeAnalysis.CSharp.Syntax.ElseClauseSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.IfStatementSyntax
Public Function WithElse (else As ElseClauseSyntax) As IfStatementSyntax

Parâmetros

Retornos

Aplica-se a