共用方式為


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

傳回

適用於