AssemblyBuilder::DefineDynamicAssembly Method (AssemblyName^, AssemblyBuilderAccess)

.NET Framework (current version)
 

Defines a dynamic assembly that has the specified name and access rights.

Namespace:   System.Reflection.Emit
Assembly:  mscorlib (in mscorlib.dll)

public:
static AssemblyBuilder^ DefineDynamicAssembly(
	AssemblyName^ name,
	AssemblyBuilderAccess access
)

Parameters

name
Type: System.Reflection::AssemblyName^

The name of the assembly.

access
Type: System.Reflection.Emit::AssemblyBuilderAccess

The access rights of the assembly.

Return Value

Type: System.Reflection.Emit::AssemblyBuilder^

An object that represents the new assembly.

.NET Framework
Available since 4.5
Return to top
Show: