Partager via


SwitchStatementSyntax.Sections Property

Definition

Gets a SyntaxList of SwitchSectionSyntax's that represents the switch sections of the switch statement.

public:
 property Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::SwitchSectionSyntax ^> Sections { Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::SwitchSectionSyntax ^> get(); };
public Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.SwitchSectionSyntax> Sections { get; }
member this.Sections : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.SwitchSectionSyntax>
Public ReadOnly Property Sections As SyntaxList(Of SwitchSectionSyntax)

Property Value

Applies to