CompilationLibrary.ResolveReferencePaths 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ResolveReferencePaths() |
取得這個連結庫的絕對參考路徑集合。 |
ResolveReferencePaths(ICompilationAssemblyResolver[]) |
使用指定的自定義解析程式,取得這個連結庫的絕對參考路徑集合。 |
ResolveReferencePaths()
取得這個連結庫的絕對參考路徑集合。
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[])
使用指定的自定義解析程式,取得這個連結庫的絕對參考路徑集合。
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[]
自定義元件解析程式的陣列。
傳回
這個連結庫的絕對參考路徑集合。
例外狀況
找不到連結庫位置。