TypeBuilder.DefineDefaultConstructorCore(MethodAttributes) Metoda

Definicja

Podczas zastępowania w klasie pochodnej definiuje konstruktor bez parametrów. Konstruktor zdefiniowany tutaj wywołuje konstruktor bez parametrów obiektu nadrzędnego.

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

Parametry

attributes
MethodAttributes

Bitowa kombinacja wartości wyliczenia, która określa atrybuty, które mają być stosowane do konstruktora.

Zwraca

Konstruktor.

Dotyczy