SwitchSectionSyntax.Update Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
Microsoft::CodeAnalysis::CSharp::Syntax::SwitchSectionSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::SwitchLabelSyntax ^> labels, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::StatementSyntax ^> statements);
public Microsoft.CodeAnalysis.CSharp.Syntax.SwitchSectionSyntax Update (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.SwitchLabelSyntax> labels, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax> statements);
member this.Update : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.SwitchLabelSyntax> * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.SwitchSectionSyntax
Public Function Update (labels As SyntaxList(Of SwitchLabelSyntax), statements As SyntaxList(Of StatementSyntax)) As SwitchSectionSyntax
Parameters
- labels
- SyntaxList<SwitchLabelSyntax>
- statements
- SyntaxList<StatementSyntax>