RelationalPatternSyntax.WithExpression(ExpressionSyntax) 方法

定义

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

参数

expression
ExpressionSyntax

返回

适用于