BinaryConditionalExpressionSyntax.WithFirstExpression 方法

定义

返回一个副本,其中 FirstExpression 属性已更改为指定值。 如果指定的值与当前值相同,则返回此实例。

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::BinaryConditionalExpressionSyntax ^ WithFirstExpression(Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ firstExpression);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.BinaryConditionalExpressionSyntax WithFirstExpression (Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax firstExpression);
member this.WithFirstExpression : Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.BinaryConditionalExpressionSyntax
Public Function WithFirstExpression (firstExpression As ExpressionSyntax) As BinaryConditionalExpressionSyntax

参数

firstExpression
ExpressionSyntax

返回

适用于