DefaultDllImportSearchPathsAttribute(DllImportSearchPath) 构造函数

定义

初始化类的新实例 DefaultDllImportSearchPathsAttribute ,指定在搜索平台调用目标时要使用的路径。

public:
 DefaultDllImportSearchPathsAttribute(System::Runtime::InteropServices::DllImportSearchPath paths);
public DefaultDllImportSearchPathsAttribute(System.Runtime.InteropServices.DllImportSearchPath paths);
new System.Runtime.InteropServices.DefaultDllImportSearchPathsAttribute : System.Runtime.InteropServices.DllImportSearchPath -> System.Runtime.InteropServices.DefaultDllImportSearchPathsAttribute
Public Sub New (paths As DllImportSearchPath)

参数

paths
DllImportSearchPath

枚举值的按位组合,指定函数在平台调用期间搜索的路径 LoadLibraryEx

适用于