Export (0) Print
Expand All

AssemblyBuilder.GetDynamicModule Method

Returns the dynamic module with the specified name.

[Visual Basic]
Public Function GetDynamicModule( _
   ByVal name As String _
) As ModuleBuilder
[C#]
public ModuleBuilder GetDynamicModule(
 string name
);
[C++]
public: ModuleBuilder* GetDynamicModule(
 String* name
);
[JScript]
public function GetDynamicModule(
   name : String
) : ModuleBuilder;

Parameters

name
The name of the requested dynamic module.

Return Value

A ModuleBuilder object representing the requested dynamic module.

Exceptions

Exception Type Condition
ArgumentNullException name is a null reference (Nothing in Visual Basic).
ArgumentException The length of name is zero.
SecurityException The caller does not have the required permission.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

AssemblyBuilder Class | AssemblyBuilder Members | System.Reflection.Emit Namespace

Show:
© 2014 Microsoft