共用方式為


Core.nativeptr<'T> 型別 (F#)

表示 F# 程式碼中的 Unmanaged 指標。

**命名空間/模組路徑:**Microsoft.FSharp.Core

組件:FSharp.Core (在 FSharp.Core.dll 中)

type nativeptr<'T (requires unmanaged)> =
 class
 end

備註

只有在撰寫與機器碼互動的 F# 程式碼時,才應該使用這個型別。 在 F# 程式碼中使用這個型別可能會產生無法驗證的程式碼。 可能需要與 nativeint 型別之間進行相互轉換。 NativeInterop.NativePtr 模組中的函式可以產生這個型別的值。

平台

Windows 8 中, Windows 7, Windows Server 2012 上, Windows Server 2008 R2

版本資訊

F# 核心程式庫版本

支援版本:2.0, 4.0,可攜式執行檔 (PE)。

請參閱

參考

Microsoft.FSharp.Core 命名空間 (F#)