TypeBuilder.DefineDefaultConstructorCore(MethodAttributes) 方法

定义

在派生类中重写时,定义无参数构造函数。 此处定义的构造函数调用父级的无参数构造函数。

protected:
 abstract System::Reflection::Emit::ConstructorBuilder ^ DefineDefaultConstructorCore(System::Reflection::MethodAttributes attributes);
protected abstract System.Reflection.Emit.ConstructorBuilder DefineDefaultConstructorCore (System.Reflection.MethodAttributes attributes);
abstract member DefineDefaultConstructorCore : System.Reflection.MethodAttributes -> System.Reflection.Emit.ConstructorBuilder
Protected MustOverride Function DefineDefaultConstructorCore (attributes As MethodAttributes) As ConstructorBuilder

参数

attributes
MethodAttributes

枚举值的按位组合,指定要应用于构造函数的属性。

返回

构造函数。

适用于