_Assembly.GetModules _Assembly.GetModules _Assembly.GetModules _Assembly.GetModules Method

定义

为 COM 对象提供对 GetModules 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetModules methods.

重载

GetModules() GetModules() GetModules() GetModules()

为 COM 对象提供对 GetModules() 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetModules() method.

GetModules(Boolean) GetModules(Boolean) GetModules(Boolean) GetModules(Boolean)

为 COM 对象提供对 GetModules(Boolean) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetModules(Boolean) method.

注解

此方法用于从非托管代码访问托管类, 不应从托管代码调用。This method is for access to managed classes from unmanaged code, and should not be called from managed code.

GetModules方法获取作为此程序集的一部分的所有模块。The GetModules methods get all the modules that are part of this assembly.

GetModules() GetModules() GetModules() GetModules()

为 COM 对象提供对 GetModules() 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetModules() method.

public:
 cli::array <System::Reflection::Module ^> ^ GetModules();
public System.Reflection.Module[] GetModules ();
abstract member GetModules : unit -> System.Reflection.Module[]
Public Function GetModules () As Module()

返回

Module[]

模块的数组。An array of modules.

注解

此方法用于从非托管代码访问托管类, 不应从托管代码调用。This method is for access to managed classes from unmanaged code, and should not be called from managed code.

GetModules方法获取作为此程序集的一部分的所有模块。The GetModules method gets all the modules that are part of this assembly.

另请参阅

GetModules(Boolean) GetModules(Boolean) GetModules(Boolean) GetModules(Boolean)

为 COM 对象提供对 GetModules(Boolean) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetModules(Boolean) method.

public:
 cli::array <System::Reflection::Module ^> ^ GetModules(bool getResourceModules);
public System.Reflection.Module[] GetModules (bool getResourceModules);
abstract member GetModules : bool -> System.Reflection.Module[]
Public Function GetModules (getResourceModules As Boolean) As Module()

参数

getResourceModules
Boolean Boolean Boolean Boolean

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

返回

Module[]

模块的数组。An array of modules.

注解

此方法用于从非托管代码访问托管类, 不应从托管代码调用。This method is for access to managed classes from unmanaged code, and should not be called from managed code.

GetModules方法获取属于此程序集的所有模块, 同时指定是否包括资源模块。The GetModules method gets all the modules that are part of this assembly, specifying whether to include resource modules.

另请参阅

适用于