TypeBuilder.DefineDefaultConstructorCore(MethodAttributes) Method

Definition

When overridden in a derived class, defines the parameterless constructor. The constructor defined here calls the parameterless constructor of the parent.

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

Parameters

attributes
MethodAttributes

A bitwise combination of the enumeration values that specifies the attributes to be applied to the constructor.

Returns

The constructor.

Applies to