AssemblyBuilder::GetDynamicModule Method (String^)
.NET Framework (current version)
Returns the dynamic module with the specified name.
Assembly: mscorlib (in mscorlib.dll)
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.
| Exception | Condition |
|---|---|
| ArgumentNullException | name is null. |
| ArgumentException | The length of name is zero. |
| SecurityException | The caller does not have the required permission. |
ReflectionPermission
when invoked late-bound through mechanisms such as Type::InvokeMember. Associated enumeration: ReflectionPermissionFlag::MemberAccess.
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Available since 1.1
Silverlight
Available since 2.0
Show: