共用方式為


CSharpSyntaxVisitor<TResult>.VisitSwitchSection 方法

定義

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

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

參數

傳回

TResult

適用於