LanguagePrimitives.EnumToValue<'Enum,'T> 函式 (F#)
取得列舉值的基礎值。
**命名空間/模組路徑:**Microsoft.FSharp.Core.LanguagePrimitives
組件:FSharp.Core (在 FSharp.Core.dll 中)
// Signature:
EnumToValue : 'Enum -> 'T (requires enum)
// Usage:
EnumToValue enum
參數
enum
型別:'Enum輸入列舉。
傳回值
值形式的列舉。
平台
Windows 8 中, Windows 7, Windows Server 2012 上, Windows Server 2008 R2
版本資訊
F# 核心程式庫版本
支援版本:2.0, 4.0,可攜式執行檔 (PE)。