Share via


BinaryConditionalExpressionSyntax.WithFirstExpression Method

Definition

Returns a copy of this with the FirstExpression property changed to the specified value. Returns this instance if the specified value is the same as the current value.

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

Parameters

firstExpression
ExpressionSyntax

Returns

Applies to