共用方式為


DestructorDeclarationSyntax.WithBody(BlockSyntax) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::DestructorDeclarationSyntax ^ WithBody(Microsoft::CodeAnalysis::CSharp::Syntax::BlockSyntax ^ body);
public Microsoft.CodeAnalysis.CSharp.Syntax.DestructorDeclarationSyntax WithBody (Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax body);
public Microsoft.CodeAnalysis.CSharp.Syntax.DestructorDeclarationSyntax WithBody (Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax? body);
override this.WithBody : Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.DestructorDeclarationSyntax
Public Function WithBody (body As BlockSyntax) As DestructorDeclarationSyntax

Parameters

Returns

Applies to