共用方式為


AppDomain.RelativeSearchPath 屬性

定義

它會取得基礎目錄下方的路徑,組合語言解析器應該在那裡探測私有組件。

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

適用於

另請參閱