CSharpSyntaxVisitor<TResult>.VisitVariableDeclaration 方法

定义

访问者访问 VariableDeclarationSyntax 节点时调用。

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

参数

返回

TResult

适用于