_AppDomain::DefineDynamicAssembly Method (AssemblyName^, AssemblyBuilderAccess, String^)

 

Provides COM objects with version-independent access to the AppDomain::DefineDynamicAssembly(AssemblyName^, AssemblyBuilderAccess, String^) method overload.

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

AssemblyBuilder^ DefineDynamicAssembly(
	AssemblyName^ name,
	AssemblyBuilderAccess access,
	String^ dir
)

Parameters

name
Type: System.Reflection::AssemblyName^

The unique identity of the dynamic assembly.

access
Type: System.Reflection.Emit::AssemblyBuilderAccess

The mode in which the dynamic assembly will be accessed.

dir
Type: System::String^

The name of the directory where the assembly will be saved. If dir is null, the directory defaults to the current directory.

Return Value

Type: System.Reflection.Emit::AssemblyBuilder^

Represents the dynamic assembly created.

.NET Framework
Available since 1.1
Return to top
Show: