Share via


RelationalPatternSyntax.WithExpression(ExpressionSyntax) Method

Definition

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

Parameters

expression
ExpressionSyntax

Returns

Applies to