Dela via


CSharpSyntaxVisitor<TResult>.VisitVariableDeclaration Method

Definition

Called when the visitor visits a VariableDeclarationSyntax node.

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

Parameters

Returns

TResult

Applies to