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 平台调用期间搜索的路径。

适用于