TypeBuilder.DefineNestedTypeCore Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Quando sottoposto a override in una classe derivata, definisce un tipo annidato, dato il nome, gli attributi, le dimensioni e il tipo esteso.
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
Parametri
- name
- String
Nome breve del tipo.
name
non può contenere valori incorporati null
.
- attr
- TypeAttributes
Combinazione bit per bit dei valori di enumerazione che specifica gli attributi del tipo.
- parent
- Type
Tipo esteso dal tipo annidato.
- interfaces
- Type[]
Interfacce implementate dal tipo annidato.
- packSize
- PackingSize
Dimensione di compressione del tipo.
- typeSize
- Int32
Dimensione totale del tipo.
Restituisce
Tipo annidato definito.