Share via


ThrowExpressionSyntax.Update(SyntaxToken, ExpressionSyntax) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::ThrowExpressionSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken throwKeyword, Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ expression);
public Microsoft.CodeAnalysis.CSharp.Syntax.ThrowExpressionSyntax Update (Microsoft.CodeAnalysis.SyntaxToken throwKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ThrowExpressionSyntax
Public Function Update (throwKeyword As SyntaxToken, expression As ExpressionSyntax) As ThrowExpressionSyntax

Parameters

throwKeyword
SyntaxToken
expression
ExpressionSyntax

Returns

Applies to