GetDynamicModule Method

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:
© 2016 Microsoft