Поделиться через


ConstructorDeclarationSyntax.WithBody(BlockSyntax) Метод

Определение

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

Параметры

Возвращаемое значение

Применяется к