Share via


ElseClauseSyntax.Update(SyntaxToken, StatementSyntax) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::ElseClauseSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken elseKeyword, Microsoft::CodeAnalysis::CSharp::Syntax::StatementSyntax ^ statement);
public Microsoft.CodeAnalysis.CSharp.Syntax.ElseClauseSyntax Update (Microsoft.CodeAnalysis.SyntaxToken elseKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ElseClauseSyntax
Public Function Update (elseKeyword As SyntaxToken, statement As StatementSyntax) As ElseClauseSyntax

Parameters

elseKeyword
SyntaxToken
statement
StatementSyntax

Returns

Applies to