XmlReferenceResolver.ResolveReference(String, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
根據基底檔案路徑解析指定的 XML 參考。
public:
abstract System::String ^ ResolveReference(System::String ^ path, System::String ^ baseFilePath);
public abstract string ResolveReference (string path, string baseFilePath);
public abstract string? ResolveReference (string path, string? baseFilePath);
abstract member ResolveReference : string * string -> string
Public MustOverride Function ResolveReference (path As String, baseFilePath As String) As String
參數
- path
- String
要解析的參考路徑。 可能是絕對路徑或相對路徑。
- baseFilePath
- String
包含 path
(的來源檔案路徑也可能是相對) ,如果無法使用則為 null。
傳回
XML 成品的路徑,如果無法解析檔案,則為 null。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應