AssemblyBuilder.GetDynamicModule(String) 方法

定义

返回具有指定名称的动态模块。Returns the dynamic module with the specified name.

public:
 System::Reflection::Emit::ModuleBuilder ^ GetDynamicModule(System::String ^ name);
public System.Reflection.Emit.ModuleBuilder? GetDynamicModule (string name);
public System.Reflection.Emit.ModuleBuilder GetDynamicModule (string name);
member this.GetDynamicModule : string -> System.Reflection.Emit.ModuleBuilder
Public Function GetDynamicModule (name As String) As ModuleBuilder

参数

name
String

请求的动态模块的名称。The name of the requested dynamic module.

返回

ModuleBuilder

表示请求的动态模块的 ModuleBuilder 对象。A ModuleBuilder object representing the requested dynamic module.

例外

namenullname is null.

name 的长度为零。The length of name is zero.

调用方没有所要求的权限。The caller does not have the required permission.

适用于