Share via


SwitchSectionSyntax.Labels Property

Definition

Gets a SyntaxList of SwitchLabelSyntax's the represents the possible labels that control can transfer to within the section.

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

Property Value

Applies to