AppDomain.RelativeSearchPath 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
它會取得基礎目錄下方的路徑,組合語言解析器應該在那裡探測私有組件。
public:
property System::String ^ RelativeSearchPath { System::String ^ get(); };
public string? RelativeSearchPath { get; }
public string RelativeSearchPath { get; }
member this.RelativeSearchPath : string
Public ReadOnly Property RelativeSearchPath As String
屬性值
基礎目錄下方的路徑,組合語言解析器應該在那裡探測私有組件。
實作
例外狀況
此操作嘗試在未載入的應用程式域上執行。
備註
私有組件部署於與應用程式相同的目錄結構中。 若屬性指定 RelativeSearchPath 路徑不屬於 AppDomainSetup.ApplicationBase,則忽略。
此性質會回傳 的值集合。AppDomainSetup.PrivateBinPath