Share via


ThrowStatementSyntax.WithThrowKeyword(SyntaxToken) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::ThrowStatementSyntax ^ WithThrowKeyword(Microsoft::CodeAnalysis::SyntaxToken throwKeyword);
public Microsoft.CodeAnalysis.CSharp.Syntax.ThrowStatementSyntax WithThrowKeyword (Microsoft.CodeAnalysis.SyntaxToken throwKeyword);
member this.WithThrowKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.ThrowStatementSyntax
Public Function WithThrowKeyword (throwKeyword As SyntaxToken) As ThrowStatementSyntax

Parameters

throwKeyword
SyntaxToken

Returns

Applies to