AppDomainSetup.PrivateBinPathProbe 属性
定义
获取或设置一个字符串值,该值包括或不包括应用程序的搜索路径中的 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. 默认值为 null。The default value is null.
实现
注解
将此属性设置为任何非 null 字符串值,包括 String.Empty ( "" ) ,以排除应用程序目录路径(即 ApplicationBase 从应用程序的搜索路径获取),并仅搜索中的程序集 PrivateBinPath 。Set 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.