Share via


SwitchExpressionSyntax.Update Method

Definition

public Microsoft.CodeAnalysis.CSharp.Syntax.SwitchExpressionSyntax Update (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax governingExpression, Microsoft.CodeAnalysis.SyntaxToken switchKeyword, Microsoft.CodeAnalysis.SyntaxToken openBraceToken, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.SwitchExpressionArmSyntax> arms, Microsoft.CodeAnalysis.SyntaxToken closeBraceToken);
member this.Update : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.SwitchExpressionArmSyntax> * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.SwitchExpressionSyntax
Public Function Update (governingExpression As ExpressionSyntax, switchKeyword As SyntaxToken, openBraceToken As SyntaxToken, arms As SeparatedSyntaxList(Of SwitchExpressionArmSyntax), closeBraceToken As SyntaxToken) As SwitchExpressionSyntax

Parameters

governingExpression
ExpressionSyntax
switchKeyword
SyntaxToken
openBraceToken
SyntaxToken
closeBraceToken
SyntaxToken

Returns

Applies to