共用方式為


CSharpSyntaxVisitor<TResult>.VisitWhenClause(WhenClauseSyntax) Method

Definition

Called when the visitor visits a WhenClauseSyntax node.

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

Parameters

Returns

TResult

Applies to