共用方式為


CSharpSyntaxVisitor<TResult>.VisitLocalDeclarationStatement 方法

定義

訪客造訪 LocalDeclarationStatementSyntax 節點時呼叫。

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

參數

傳回

TResult

適用於