_Assembly.GetModule(String) 方法

定義

為 COM 物件提供與版本無關的 GetModule(String) 方法之存取權。

public:
 System::Reflection::Module ^ GetModule(System::String ^ name);
public System.Reflection.Module GetModule (string name);
abstract member GetModule : string -> System.Reflection.Module
Public Function GetModule (name As String) As Module

參數

name
String

所要求的模組名稱。

傳回

正在接受要求的模組,如果找不到模組,則為 null

備註

此方法適用於從 Unmanaged 程式代碼存取 Managed 類別,不應從 Managed 程式代碼呼叫。

方法 GetModule 會取得這個元件中的指定模組。

適用於

另請參閱