AppDomainSetup.PrivateBinPathProbe 屬性

定義

取得或設定字串值,這個字串值會在應用程式的搜尋路徑中加入或排除 ApplicationBase,並僅搜尋 PrivateBinPathGets or sets a string value that includes or excludes ApplicationBase from the search path for the application, and searches only PrivateBinPath.

public:
 property System::String ^ PrivateBinPathProbe { System::String ^ get(); void set(System::String ^ value); };
public string PrivateBinPathProbe { get; set; }
member this.PrivateBinPathProbe : string with get, set
Public Property PrivateBinPathProbe As String

屬性值

String

Null 參考 (在 Visual Basic 中為 Nothing) 表示要在搜尋組件時包含應用程式基底路徑。任何非 Null 字串值則表示不包含路徑。A null reference (Nothing in Visual Basic) to include the application base path when searching for assemblies; any non-null string value to exclude the path. 預設值是 nullThe default value is null.

實作

備註

將此屬性設定為任何非 null 字串值,包括 String.Empty ( "" ) ,以排除應用程式目錄路徑(也就是 ApplicationBase 從應用程式的搜尋路徑),並只搜尋中的元件 PrivateBinPathSet this property to any non-null string value, including String.Empty (""), to exclude the application directory path - that is, ApplicationBase - from the search path for the application, and to search for assemblies only in PrivateBinPath.

適用於