Share via


IAnalyzerAssemblyLoader.LoadFromPath(String) 方法

定義

指定磁片上元件的完整路徑,載入並傳回對應的 Assembly 物件。

public:
 System::Reflection::Assembly ^ LoadFromPath(System::String ^ fullPath);
public System.Reflection.Assembly LoadFromPath (string fullPath);
abstract member LoadFromPath : string -> System.Reflection.Assembly
Public Function LoadFromPath (fullPath As String) As Assembly

參數

fullPath
String

傳回

例外狀況

fullPath 為 null。

fullPath 不是完整路徑。

備註

具有相同路徑的多個呼叫應該會傳回相同的 Assembly 實例。

適用於