共用方式為


CSharpSyntaxVisitor<TResult>.VisitCatchDeclaration 方法

定義

當訪客造訪 CatchDeclarationSyntax 節點時呼叫。

public:
 virtual TResult VisitCatchDeclaration(Microsoft::CodeAnalysis::CSharp::Syntax::CatchDeclarationSyntax ^ node);
public virtual TResult VisitCatchDeclaration (Microsoft.CodeAnalysis.CSharp.Syntax.CatchDeclarationSyntax node);
public virtual TResult? VisitCatchDeclaration (Microsoft.CodeAnalysis.CSharp.Syntax.CatchDeclarationSyntax node);
abstract member VisitCatchDeclaration : Microsoft.CodeAnalysis.CSharp.Syntax.CatchDeclarationSyntax -> 'Result
override this.VisitCatchDeclaration : Microsoft.CodeAnalysis.CSharp.Syntax.CatchDeclarationSyntax -> 'Result
Public Overridable Function VisitCatchDeclaration (node As CatchDeclarationSyntax) As TResult

參數

傳回

TResult

適用於