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

適用於