AssemblyBuilder.GetDynamicModule Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Returns the dynamic module that has the specified name.
Namespace: System.Reflection.Emit
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
Public Function GetDynamicModule ( _
name As String _
) As ModuleBuilder
public ModuleBuilder GetDynamicModule(
string name
)
Parameters
- name
Type: System.String
The name of the requested dynamic module.
Return Value
Type: System.Reflection.Emit.ModuleBuilder
The requested dynamic module.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | name is nulla null reference (Nothing in Visual Basic). |
ArgumentException | The length of name is zero. |
Version Information
Silverlight
Supported in: 5, 4, 3
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.