Share via


SwitchExpressionArmSyntax.WithExpression(ExpressionSyntax) Method

Definition

public Microsoft.CodeAnalysis.CSharp.Syntax.SwitchExpressionArmSyntax WithExpression (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression);
member this.WithExpression : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.SwitchExpressionArmSyntax
Public Function WithExpression (expression As ExpressionSyntax) As SwitchExpressionArmSyntax

Parameters

expression
ExpressionSyntax

Returns

Applies to