共用方式為


CompilationLibrary.ResolveReferencePaths 方法

定義

多載

ResolveReferencePaths()

取得這個連結庫的絕對參考路徑集合。

ResolveReferencePaths(ICompilationAssemblyResolver[])

使用指定的自定義解析程式,取得這個連結庫的絕對參考路徑集合。

ResolveReferencePaths()

來源:
CompilationLibrary.cs
來源:
CompilationLibrary.cs
來源:
CompilationLibrary.cs

取得這個連結庫的絕對參考路徑集合。

public:
 System::Collections::Generic::IEnumerable<System::String ^> ^ ResolveReferencePaths();
public System.Collections.Generic.IEnumerable<string> ResolveReferencePaths ();
member this.ResolveReferencePaths : unit -> seq<string>
Public Function ResolveReferencePaths () As IEnumerable(Of String)

傳回

這個連結庫的絕對參考路徑集合。

例外狀況

找不到連結庫位置。

適用於

ResolveReferencePaths(ICompilationAssemblyResolver[])

來源:
CompilationLibrary.cs
來源:
CompilationLibrary.cs
來源:
CompilationLibrary.cs

使用指定的自定義解析程式,取得這個連結庫的絕對參考路徑集合。

public:
 System::Collections::Generic::IEnumerable<System::String ^> ^ ResolveReferencePaths(... cli::array <Microsoft::Extensions::DependencyModel::Resolution::ICompilationAssemblyResolver ^> ^ customResolvers);
public System.Collections.Generic.IEnumerable<string> ResolveReferencePaths (params Microsoft.Extensions.DependencyModel.Resolution.ICompilationAssemblyResolver[] customResolvers);
member this.ResolveReferencePaths : Microsoft.Extensions.DependencyModel.Resolution.ICompilationAssemblyResolver[] -> seq<string>
Public Function ResolveReferencePaths (ParamArray customResolvers As ICompilationAssemblyResolver()) As IEnumerable(Of String)

參數

customResolvers
ICompilationAssemblyResolver[]

自定義元件解析程式的陣列。

傳回

這個連結庫的絕對參考路徑集合。

例外狀況

找不到連結庫位置。

適用於