DefaultDllImportSearchPathsAttribute.Paths 屬性

定義

取得列舉值的位元組合,指定函式在平臺叫用期間搜尋的路徑 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當屬性套用至元件時,預設會使用路徑來搜尋元件中程式碼所執行之任何平臺叫用的目標。 當屬性套用至個別平台叫用時,路徑會用來搜尋個別平台叫用的目標,並覆寫為元件指定的路徑。

適用於