Export (0) Print
Expand All

Nullable.enum<^U> Function (F#)

Converts the argument to a particular enum type.

Namespace/Module Path: Microsoft.FSharp.Linq.Nullable

Assembly: FSharp.Core (in FSharp.Core.dll)

// Signature:
enum : Nullable<int32> -> Nullable<^U> when ^U : enum<int32> and ^U : (new : unit ->  ^U) and ^U : struct and ^U :> ValueType

// Usage:
Nullable.enum value

value

Type: Nullable<int32>

The input value.

The converted enum type.

This function is named ToEnum in the .NET assembly. If accessing the member from a .NET language other than F#, or through reflection, use this name.

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

F# Core Library Versions

Supported in: 4.0, Portable

Show:
© 2015 Microsoft