CatchClauseSyntax.WithCatchKeyword(SyntaxToken) 方法

定义

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

参数

catchKeyword
SyntaxToken

返回

适用于