TypeBuilder.DefineNestedTypeCore Método

Definición

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.

Se aplica a