共用方式為


CSharpSyntaxVisitor.VisitForEachStatement(ForEachStatementSyntax) 方法

定義

當訪客造訪 ForEachStatementSyntax 節點時呼叫。

public:
 virtual void VisitForEachStatement(Microsoft::CodeAnalysis::CSharp::Syntax::ForEachStatementSyntax ^ node);
public virtual void VisitForEachStatement (Microsoft.CodeAnalysis.CSharp.Syntax.ForEachStatementSyntax node);
abstract member VisitForEachStatement : Microsoft.CodeAnalysis.CSharp.Syntax.ForEachStatementSyntax -> unit
override this.VisitForEachStatement : Microsoft.CodeAnalysis.CSharp.Syntax.ForEachStatementSyntax -> unit
Public Overridable Sub VisitForEachStatement (node As ForEachStatementSyntax)

參數

適用於