Partager via


SwitchStatementSyntax.WithSections Méthode

Définition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::SwitchStatementSyntax ^ WithSections(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::SwitchSectionSyntax ^> sections);
public Microsoft.CodeAnalysis.CSharp.Syntax.SwitchStatementSyntax WithSections (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.SwitchSectionSyntax> sections);
member this.WithSections : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.SwitchSectionSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.SwitchStatementSyntax
Public Function WithSections (sections As SyntaxList(Of SwitchSectionSyntax)) As SwitchStatementSyntax

Paramètres

Retours

S’applique à