Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AssemblyBuilder::GetDynamicModule Method (String^)

 

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.

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
Return to top
Show:
© 2017 Microsoft