共用方式為


CSharpSyntaxVisitor.VisitWhenClause(WhenClauseSyntax) 方法

定義

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

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

參數

適用於