다음을 통해 공유


CSharpSyntaxVisitor<TResult>.VisitSwitchStatement 메서드

정의

방문자가 SwitchStatementSyntax 노드를 방문할 때 호출됩니다.

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

매개 변수

반환

TResult

적용 대상