Export (0) Print
Expand All

AssemblyBuilder::GetDynamicModule Method

Returns the dynamic module with the specified name.

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

public:
ModuleBuilder^ GetDynamicModule(
	String^ name
)

Parameters

name
Type: System::String

The name of the requested dynamic module.

Return Value

Type: System.Reflection.Emit::ModuleBuilder
A ModuleBuilder object representing the requested dynamic module.

ExceptionCondition
ArgumentNullException

name is nullptr.

ArgumentException

The length of name is zero.

SecurityException

The caller does not have the required permission.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Show:
© 2015 Microsoft