ModuleBuilder.DefineTypeCore Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de