共用方式為


SimpleLambdaExpressionSyntax.ExpressionBody Property

Definition

ExpressionSyntax node representing the body of the lambda. Only one of Block or ExpressionBody will be non-null.

public override Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax? ExpressionBody { get; }
member this.ExpressionBody : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax
Public Overrides ReadOnly Property ExpressionBody As ExpressionSyntax

Property Value

Applies to