DefaultDllImportSearchPathsAttribute(DllImportSearchPath) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化該類別的新實例 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 。