DefaultDllImportSearchPathsAttribute.Paths 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得列舉值的位元組合,指定函式在平臺叫用期間搜尋的路徑 LoadLibraryEx
。
public:
property System::Runtime::InteropServices::DllImportSearchPath Paths { System::Runtime::InteropServices::DllImportSearchPath get(); };
public System.Runtime.InteropServices.DllImportSearchPath Paths { get; }
member this.Paths : System.Runtime.InteropServices.DllImportSearchPath
Public ReadOnly Property Paths As DllImportSearchPath
屬性值
列舉值的位元組合,這些值會指定平台叫用的搜尋路徑。
備註
DefaultDllImportSearchPathsAttribute當屬性套用至元件時,預設會使用路徑來搜尋元件中程式碼所執行之任何平臺叫用的目標。 當屬性套用至個別平台叫用時,路徑會用來搜尋個別平台叫用的目標,並覆寫為元件指定的路徑。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應