Partilhar via


ConditionalExpressionSyntax.WithWhenTrue(ExpressionSyntax) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::ConditionalExpressionSyntax ^ WithWhenTrue(Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ whenTrue);
public Microsoft.CodeAnalysis.CSharp.Syntax.ConditionalExpressionSyntax WithWhenTrue (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax whenTrue);
member this.WithWhenTrue : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ConditionalExpressionSyntax
Public Function WithWhenTrue (whenTrue As ExpressionSyntax) As ConditionalExpressionSyntax

Parameters

whenTrue
ExpressionSyntax

Returns

Applies to