AppDomainSetup.PrivateBinPathProbe AppDomainSetup.PrivateBinPathProbe AppDomainSetup.PrivateBinPathProbe AppDomainSetup.PrivateBinPathProbe Property

定义

获取或设置一个字符串值,用于在应用程序的搜索路径中包含 ApplicationBase,或者从搜索路径中排除该基路径而只在 PrivateBinPath 中进行搜索。Gets 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

属性值

空引用( Visual Basic 中的 Nothing),包括搜索程序集时的应用程序基路径;要排除该路径的任何非空字符串值。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.

适用于