Compartir a través de


AnonymousMethodExpressionSyntax.WithExpressionBody(ExpressionSyntax) Method

Definition

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

Parameters

expressionBody
ExpressionSyntax

Returns

Applies to