TypeBuilder.DefineNestedTypeCore Método

Definição

Quando substituído em uma classe derivada, define um tipo aninhado, dado seu nome, atributos, tamanho e o tipo que ele estende.

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

O nome curto do tipo. name não pode conter valores inseridos null .

attr
TypeAttributes

Uma combinação bit a bit dos valores de enumeração que especifica os atributos do tipo.

parent
Type

O tipo que o tipo aninhado estende.

interfaces
Type[]

As interface implementadas pelo tipo aninhado.

packSize
PackingSize

O tamanho de empacotamento do tipo.

typeSize
Int32

O tamanho total do tipo.

Retornos

O tipo aninhado definido.

Aplica-se a