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

屬性值

String

組件解析程式應該在其中探查私用組件的路徑,此路徑位於基底目錄下。

實作

例外狀況

嘗試對卸載的應用程式定義域執行作業。

備註

私人元件會部署在與應用程式相同的目錄結構中。 如果 屬性所 RelativeSearchPath 指定的路徑不在 下 AppDomainSetup.ApplicationBase ,則會忽略它。

這個屬性會傳回使用 AppDomainSetup.PrivateBinPath 所設定的值。

適用於

另請參閱