TypeBuilder.DefineDefaultConstructorCore(MethodAttributes) Metodo

Definizione

Quando sottoposto a override in una classe derivata, definisce il costruttore senza parametri. Il costruttore definito qui chiama il costruttore senza parametri dell'elemento padre.

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

Parametri

attributes
MethodAttributes

Combinazione bit per bit dei valori di enumerazione che specifica gli attributi da applicare al costruttore.

Restituisce

Costruttore.

Si applica a