TypeBuilder.DefineNestedTypeCore Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Cuando se reemplaza en una clase derivada, define un tipo anidado, dado su nombre, atributos, tamaño y el tipo que extiende.
protected:
abstract System::Reflection::Emit::TypeBuilder ^ DefineNestedTypeCore(System::String ^ name, System::Reflection::TypeAttributes attr, Type ^ parent, cli::array <Type ^> ^ interfaces, System::Reflection::Emit::PackingSize packSize, int typeSize);
protected abstract System.Reflection.Emit.TypeBuilder DefineNestedTypeCore (string name, System.Reflection.TypeAttributes attr, Type? parent, Type[]? interfaces, System.Reflection.Emit.PackingSize packSize, int typeSize);
abstract member DefineNestedTypeCore : string * System.Reflection.TypeAttributes * Type * Type[] * System.Reflection.Emit.PackingSize * int -> System.Reflection.Emit.TypeBuilder
Protected MustOverride Function DefineNestedTypeCore (name As String, attr As TypeAttributes, parent As Type, interfaces As Type(), packSize As PackingSize, typeSize As Integer) As TypeBuilder
Parámetros
- name
- String
Nombre corto del tipo.
name
no puede contener valores incrustados null
.
- attr
- TypeAttributes
Combinación bit a bit de los valores de enumeración que especifica los atributos del tipo.
- parent
- Type
El tipo que extiende el tipo anidado.
- interfaces
- Type[]
Las interfaces que implementa el tipo anidado.
- packSize
- PackingSize
Tamaño de empaquetado del tipo.
- typeSize
- Int32
Tamaño total del tipo.
Devoluciones
El tipo anidado definido.