共用方式為


CSharpSyntaxVisitor<TResult>.VisitDeclarationPattern Method

Definition

Called when the visitor visits a DeclarationPatternSyntax node.

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

Parameters

Returns

TResult

Applies to