共用方式為


ParenthesizedLambdaExpressionSyntax.WithExpressionBody 方法

定義

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

參數

expressionBody
ExpressionSyntax

傳回

適用於