共用方式為


CSharpSyntaxRewriter.VisitVariableDeclaration 方法

定義

public:
 override Microsoft::CodeAnalysis::SyntaxNode ^ VisitVariableDeclaration(Microsoft::CodeAnalysis::CSharp::Syntax::VariableDeclarationSyntax ^ node);
public override Microsoft.CodeAnalysis.SyntaxNode VisitVariableDeclaration (Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax node);
public override Microsoft.CodeAnalysis.SyntaxNode? VisitVariableDeclaration (Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax node);
override this.VisitVariableDeclaration : Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax -> Microsoft.CodeAnalysis.SyntaxNode
Public Overrides Function VisitVariableDeclaration (node As VariableDeclarationSyntax) As SyntaxNode

參數

傳回

適用於