ModuleBuilder.DefineTypeCore Metodo

Definizione

Quando sottoposto a override in una classe derivata, costruisce un oggetto TypeBuilder.

protected:
 abstract System::Reflection::Emit::TypeBuilder ^ DefineTypeCore(System::String ^ name, System::Reflection::TypeAttributes attr, Type ^ parent, cli::array <Type ^> ^ interfaces, System::Reflection::Emit::PackingSize packingSize, int typesize);
protected abstract System.Reflection.Emit.TypeBuilder DefineTypeCore (string name, System.Reflection.TypeAttributes attr, Type? parent, Type[]? interfaces, System.Reflection.Emit.PackingSize packingSize, int typesize);
abstract member DefineTypeCore : string * System.Reflection.TypeAttributes * Type * Type[] * System.Reflection.Emit.PackingSize * int -> System.Reflection.Emit.TypeBuilder
Protected MustOverride Function DefineTypeCore (name As String, attr As TypeAttributes, parent As Type, interfaces As Type(), packingSize As PackingSize, typesize As Integer) As TypeBuilder

Parametri

name
String

Percorso completo del tipo. name non può contenere valori Null incorporati.

attr
TypeAttributes

Attributi del tipo definito.

parent
Type

Tipo esteso dal tipo definito.

interfaces
Type[]

Elenco delle interfacce implementate dal tipo.

packingSize
PackingSize

Dimensione di compressione del tipo.

typesize
Int32

Dimensione totale del tipo.

Restituisce

TypeBuilder creato con tutti gli attributi richiesti.

Si applica a