Share via


AnonymousFunctionExpressionSyntax.WithExpressionBody(ExpressionSyntax) Method

Definition

public Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousFunctionExpressionSyntax WithExpressionBody (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax? expressionBody);
member this.WithExpressionBody : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousFunctionExpressionSyntax
Public Function WithExpressionBody (expressionBody As ExpressionSyntax) As AnonymousFunctionExpressionSyntax

Parameters

expressionBody
ExpressionSyntax

Returns

Applies to