共用方式為


MetadataWorkspace.LoadFromAssembly 方法

定義

從組件載入中繼資料。

多載

LoadFromAssembly(Assembly)

從指定的組件 (Assembly) 載入中繼資料。

LoadFromAssembly(Assembly, Action<String>)

從指定的組件 (Assembly) 載入中繼資料。

LoadFromAssembly(Assembly)

從指定的組件 (Assembly) 載入中繼資料。

public:
 void LoadFromAssembly(System::Reflection::Assembly ^ assembly);
public void LoadFromAssembly (System.Reflection.Assembly assembly);
member this.LoadFromAssembly : System.Reflection.Assembly -> unit
Public Sub LoadFromAssembly (assembly As Assembly)

參數

assembly
Assembly

會從其載入中繼資料的組件。

適用於

LoadFromAssembly(Assembly, Action<String>)

從指定的組件 (Assembly) 載入中繼資料。

public:
 void LoadFromAssembly(System::Reflection::Assembly ^ assembly, Action<System::String ^> ^ logLoadMessage);
public void LoadFromAssembly (System.Reflection.Assembly assembly, Action<string> logLoadMessage);
member this.LoadFromAssembly : System.Reflection.Assembly * Action<string> -> unit
Public Sub LoadFromAssembly (assembly As Assembly, logLoadMessage As Action(Of String))

參數

assembly
Assembly

會從其載入中繼資料的組件。

logLoadMessage
Action<String>

記錄載入訊息的委派。

適用於