Share via


ExpressionColonSyntax.WithExpression(ExpressionSyntax) Method

Definition

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

Parameters

expression
ExpressionSyntax

Returns

Applies to