AssemblyBuilder.GetLoadedModules(Boolean) 方法

定义

返回属于此程序集的所有已加载模块,并根据需要包括资源模块。Returns all the loaded modules that are part of this assembly, and optionally includes resource modules.

public:
 override cli::array <System::Reflection::Module ^> ^ GetLoadedModules(bool getResourceModules);
public override System.Reflection.Module[] GetLoadedModules (bool getResourceModules);
override this.GetLoadedModules : bool -> System.Reflection.Module[]
Public Overrides Function GetLoadedModules (getResourceModules As Boolean) As Module()

参数

getResourceModules
Boolean

true 则包括资源模块;否则,为 falsetrue to include resource modules; otherwise, false.

返回

Module[]

属于此程序集的已加载模块。The loaded modules that are part of this assembly.

适用于