다음을 통해 공유


SwitchStatementSyntax.WithSections Method

Definition

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

Parameters

Returns

Applies to