SwitchStatementSyntax.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.
Overloads
Update(SyntaxToken, SyntaxToken, ExpressionSyntax, SyntaxToken, SyntaxToken, SyntaxList<SwitchSectionSyntax>, SyntaxToken)
- Source:
- SwitchStatementSyntax.cs
- Source:
- SwitchStatementSyntax.cs
- Source:
- SwitchStatementSyntax.cs
- Source:
- SwitchStatementSyntax.cs
- Source:
- SwitchStatementSyntax.cs
- Source:
- SwitchStatementSyntax.cs
- Source:
- SwitchStatementSyntax.cs
- Source:
- SwitchStatementSyntax.cs
- Source:
- SwitchStatementSyntax.cs
- Source:
- SwitchStatementSyntax.cs
- Source:
- SwitchStatementSyntax.cs
- Source:
- SwitchStatementSyntax.cs
- Source:
- SwitchStatementSyntax.cs
- Source:
- SwitchStatementSyntax.cs
- Source:
- SwitchStatementSyntax.cs
- Source:
- SwitchStatementSyntax.cs
public:
Microsoft::CodeAnalysis::CSharp::Syntax::SwitchStatementSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken switchKeyword, Microsoft::CodeAnalysis::SyntaxToken openParenToken, Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ expression, Microsoft::CodeAnalysis::SyntaxToken closeParenToken, Microsoft::CodeAnalysis::SyntaxToken openBraceToken, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::SwitchSectionSyntax ^> sections, Microsoft::CodeAnalysis::SyntaxToken closeBraceToken);
public Microsoft.CodeAnalysis.CSharp.Syntax.SwitchStatementSyntax Update (Microsoft.CodeAnalysis.SyntaxToken switchKeyword, Microsoft.CodeAnalysis.SyntaxToken openParenToken, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.SyntaxToken closeParenToken, Microsoft.CodeAnalysis.SyntaxToken openBraceToken, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.SwitchSectionSyntax> sections, Microsoft.CodeAnalysis.SyntaxToken closeBraceToken);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.SwitchSectionSyntax> * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.SwitchStatementSyntax
Public Function Update (switchKeyword As SyntaxToken, openParenToken As SyntaxToken, expression As ExpressionSyntax, closeParenToken As SyntaxToken, openBraceToken As SyntaxToken, sections As SyntaxList(Of SwitchSectionSyntax), closeBraceToken As SyntaxToken) As SwitchStatementSyntax
Parameters
- switchKeyword
- SyntaxToken
- openParenToken
- SyntaxToken
- expression
- ExpressionSyntax
- closeParenToken
- SyntaxToken
- openBraceToken
- SyntaxToken
- sections
- SyntaxList<SwitchSectionSyntax>
- closeBraceToken
- SyntaxToken
Returns
Applies to
Update(SyntaxList<AttributeListSyntax>, SyntaxToken, SyntaxToken, ExpressionSyntax, SyntaxToken, SyntaxToken, SyntaxList<SwitchSectionSyntax>, SyntaxToken)
public Microsoft.CodeAnalysis.CSharp.Syntax.SwitchStatementSyntax Update (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxToken switchKeyword, Microsoft.CodeAnalysis.SyntaxToken openParenToken, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.SyntaxToken closeParenToken, Microsoft.CodeAnalysis.SyntaxToken openBraceToken, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.SwitchSectionSyntax> sections, Microsoft.CodeAnalysis.SyntaxToken closeBraceToken);
member this.Update : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.SwitchSectionSyntax> * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.SwitchStatementSyntax
Public Function Update (attributeLists As SyntaxList(Of AttributeListSyntax), switchKeyword As SyntaxToken, openParenToken As SyntaxToken, expression As ExpressionSyntax, closeParenToken As SyntaxToken, openBraceToken As SyntaxToken, sections As SyntaxList(Of SwitchSectionSyntax), closeBraceToken As SyntaxToken) As SwitchStatementSyntax
Parameters
- attributeLists
- SyntaxList<AttributeListSyntax>
- switchKeyword
- SyntaxToken
- openParenToken
- SyntaxToken
- expression
- ExpressionSyntax
- closeParenToken
- SyntaxToken
- openBraceToken
- SyntaxToken
- sections
- SyntaxList<SwitchSectionSyntax>
- closeBraceToken
- SyntaxToken
Returns
Applies to
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.