Partager via


CSharpSyntaxVisitor<TResult>.VisitSwitchStatement Method

Definition

Called when the visitor visits a SwitchStatementSyntax node.

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

Parameters

Returns

TResult

Applies to