AssemblyBuilder.DefineDynamicAssembly AssemblyBuilder.DefineDynamicAssembly AssemblyBuilder.DefineDynamicAssembly AssemblyBuilder.DefineDynamicAssembly Method

Definición

Define un ensamblado dinámico.Defines a dynamic assembly.

Sobrecargas

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess) DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess) DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess) DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess)

Define un ensamblado dinámico que tiene los derechos de acceso y nombre especificados.Defines a dynamic assembly that has the specified name and access rights.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, IEnumerable<CustomAttributeBuilder>) DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, IEnumerable<CustomAttributeBuilder>) DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, IEnumerable<CustomAttributeBuilder>) DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, IEnumerable<CustomAttributeBuilder>)

Define un nuevo ensamblado que tiene el nombre, los derechos de acceso y los atributos especificados.Defines a new assembly that has the specified name, access rights, and attributes.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess) DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess) DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess) DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess)

Define un ensamblado dinámico que tiene los derechos de acceso y nombre especificados.Defines a dynamic assembly that has the specified name and access rights.

public:
 static System::Reflection::Emit::AssemblyBuilder ^ DefineDynamicAssembly(System::Reflection::AssemblyName ^ name, System::Reflection::Emit::AssemblyBuilderAccess access);
public static System.Reflection.Emit.AssemblyBuilder DefineDynamicAssembly (System.Reflection.AssemblyName name, System.Reflection.Emit.AssemblyBuilderAccess access);
static member DefineDynamicAssembly : System.Reflection.AssemblyName * System.Reflection.Emit.AssemblyBuilderAccess -> System.Reflection.Emit.AssemblyBuilder
Public Shared Function DefineDynamicAssembly (name As AssemblyName, access As AssemblyBuilderAccess) As AssemblyBuilder

Parámetros

name
AssemblyName AssemblyName AssemblyName AssemblyName

Nombre del ensamblado.The name of the assembly.

access
AssemblyBuilderAccess AssemblyBuilderAccess AssemblyBuilderAccess AssemblyBuilderAccess

Derechos de acceso del ensamblado.The access rights of the assembly.

Devoluciones

Un objeto que representa el nuevo ensamblado.An object that represents the new assembly.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, IEnumerable<CustomAttributeBuilder>) DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, IEnumerable<CustomAttributeBuilder>) DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, IEnumerable<CustomAttributeBuilder>) DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, IEnumerable<CustomAttributeBuilder>)

Define un nuevo ensamblado que tiene el nombre, los derechos de acceso y los atributos especificados.Defines a new assembly that has the specified name, access rights, and attributes.

public:
 static System::Reflection::Emit::AssemblyBuilder ^ DefineDynamicAssembly(System::Reflection::AssemblyName ^ name, System::Reflection::Emit::AssemblyBuilderAccess access, System::Collections::Generic::IEnumerable<System::Reflection::Emit::CustomAttributeBuilder ^> ^ assemblyAttributes);
public static System.Reflection.Emit.AssemblyBuilder DefineDynamicAssembly (System.Reflection.AssemblyName name, System.Reflection.Emit.AssemblyBuilderAccess access, System.Collections.Generic.IEnumerable<System.Reflection.Emit.CustomAttributeBuilder> assemblyAttributes);
static member DefineDynamicAssembly : System.Reflection.AssemblyName * System.Reflection.Emit.AssemblyBuilderAccess * seq<System.Reflection.Emit.CustomAttributeBuilder> -> System.Reflection.Emit.AssemblyBuilder
Public Shared Function DefineDynamicAssembly (name As AssemblyName, access As AssemblyBuilderAccess, assemblyAttributes As IEnumerable(Of CustomAttributeBuilder)) As AssemblyBuilder

Parámetros

name
AssemblyName AssemblyName AssemblyName AssemblyName

Nombre del ensamblado.The name of the assembly.

access
AssemblyBuilderAccess AssemblyBuilderAccess AssemblyBuilderAccess AssemblyBuilderAccess

Derechos de acceso del ensamblado.The access rights of the assembly.

assemblyAttributes
IEnumerable<CustomAttributeBuilder>

Colección que contiene los atributos del ensamblado.A collection that contains the attributes of the assembly.

Devoluciones

Un objeto que representa el nuevo ensamblado.An object that represents the new assembly.

Se aplica a