다음을 통해 공유


SwitchSectionSyntax.WithStatements(SyntaxList<StatementSyntax>) 메서드

정의

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::SwitchSectionSyntax ^ WithStatements(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::StatementSyntax ^> statements);
public Microsoft.CodeAnalysis.CSharp.Syntax.SwitchSectionSyntax WithStatements (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax> statements);
member this.WithStatements : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.SwitchSectionSyntax
Public Function WithStatements (statements As SyntaxList(Of StatementSyntax)) As SwitchSectionSyntax

매개 변수

반환

적용 대상