AnonymousFunctionExpressionSyntax.WithExpressionBody(ExpressionSyntax) 方法

定义

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

参数

expressionBody
ExpressionSyntax

返回

适用于