Share via


BaseExpressionColonSyntax.WithExpression(ExpressionSyntax) Method

Definition

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

Parameters

expression
ExpressionSyntax

Returns

Applies to