MetadataWorkspace.LoadFromAssembly 方法

定义

从程序集加载元数据。

重载

LoadFromAssembly(Assembly)

加载给定程序集中的元数据。

LoadFromAssembly(Assembly, Action<String>)

加载给定程序集中的元数据。

LoadFromAssembly(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>)

加载给定程序集中的元数据。

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>

用于记录加载消息的委托。

适用于