Compartir a través de


AccessorDeclarationSyntax.WithBody(BlockSyntax) Método

Definición

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

Parámetros

Devoluciones

Se aplica a