ModuleBuilder.DefineTypeCore Método

Definição

Quando substituído em uma classe derivada, constrói um 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

Parâmetros

name
String

O caminho completo do tipo. name não pode conter nulos inseridos.

attr
TypeAttributes

Os atributos do tipo definido.

parent
Type

O tipo que o tipo definido estende.

interfaces
Type[]

A lista de interfaces que o tipo implementa.

packingSize
PackingSize

O tamanho de empacotamento do tipo.

typesize
Int32

O tamanho total do tipo.

Retornos

Um TypeBuilder criado com todos os atributos solicitados.

Aplica-se a