共用方式為


AnonymousFunctionExpressionSyntax.Body Property

Definition

Either the Block if it is not null or the ExpressionBody otherwise.

public:
 abstract property Microsoft::CodeAnalysis::CSharp::CSharpSyntaxNode ^ Body { Microsoft::CodeAnalysis::CSharp::CSharpSyntaxNode ^ get(); };
public abstract Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode Body { get; }
public Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode Body { get; }
member this.Body : Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode
Public MustOverride ReadOnly Property Body As CSharpSyntaxNode
Public ReadOnly Property Body As CSharpSyntaxNode

Property Value

Applies to