Share via


CatchClauseSyntax.WithCatchKeyword(SyntaxToken) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::CatchClauseSyntax ^ WithCatchKeyword(Microsoft::CodeAnalysis::SyntaxToken catchKeyword);
public Microsoft.CodeAnalysis.CSharp.Syntax.CatchClauseSyntax WithCatchKeyword (Microsoft.CodeAnalysis.SyntaxToken catchKeyword);
member this.WithCatchKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.CatchClauseSyntax
Public Function WithCatchKeyword (catchKeyword As SyntaxToken) As CatchClauseSyntax

Parameters

catchKeyword
SyntaxToken

Returns

Applies to