This topic has not yet been rated - Rate this topic

Linq.Nullable Module (F#)

Visual Studio 11

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Functions for converting nullable values into nullable values of another type.

Namespace/Module Path: Microsoft.FSharp.Linq

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

module Nullable

For more information about nullable types and nullable operators, see Nullable<T> and Nullable Operators (F#).

Value

Description

byte : System.Nullable<'T> -> System.Nullable<byte>

Converts the argument to nullable byte, Nullable<byte>. This is a direct conversion for all primitive numeric types. The operation requires an appropriate static conversion method on the input type.

char : System.Nullable<'T> -> System.Nullable<char>

Converts the argument to a nullable character, Nullable<char>. Numeric inputs are converted according to the UTF-16 encoding for characters. The operation requires an appropriate static conversion method on the input type.

decimal : System.Nullable<'T> -> System.Nullable<System.Decimal>

Converts the argument to a nullable decimal, Nullable<Decimal> using a direct conversion for all primitive numeric types. The operation requires an appropriate static conversion method on the input type.

enum : System.Nullable<'T> -> System.Nullable<'U when 'U : enum>

Converts the argument to a particular nullable enum type.

float : System.Nullable<'T> -> System.Nullable<float>

Converts the argument to a nullable 64-bit float, Nullable<float>. This is a direct conversion for all primitive numeric types. The operation requires an appropriate static conversion method on the input type.

float32 : System.Nullable<'T> -> System.Nullable<float32>

Converts the argument to a nullable 32-bit float, Nullable<float32>. This is a direct conversion for all primitive numeric types. The operation requires an appropriate static conversion method on the input type.

int : System.Nullable<'T> -> System.Nullable<int>

Converts the argument to nullable signed 32-bit integer, Nullable<int>. This is a direct conversion for all primitive numeric types. The operation requires an appropriate static conversion method on the input type.

int16 : System.Nullable<'T> -> System.Nullable<int16>

Converts the argument to a nullable signed 16-bit integer, Nullable<int16>. This is a direct conversion for all primitive numeric types. The operation requires an appropriate static conversion method on the input type.

int32 : System.Nullable<'T> -> System.Nullable<int32>

Converts the argument to a nullable signed 32-bit integer, Nullable<int32>. This is a direct conversion for all primitive numeric types. The operation requires an appropriate static conversion method on the input type.

int64: System.Nullable<'T> -> System.Nullable<int64>

Converts the argument to a nullable signed 64-bit integer, Nullable<int64>. This is a direct conversion for all primitive numeric types. The operation requires an appropriate static conversion method on the input type.

nativeint : System.Nullable<'T> -> System.Nullable<nativeint>

Converts the argument to a nullable signed native integer, Nullable<nativeint>. This is a direct conversion for all primitive numeric types. Otherwise the operation requires an appropriate static conversion method on the input type.

sbyte : System.Nullable<'T> -> System.Nullable<sbyte>

Converts the argument to a nullable signed byte, Nullable<sbyte>. This is a direct conversion for all primitive numeric types. The operation requires an appropriate static conversion method on the input type.

uint16: System.Nullable<'T> -> System.Nullable<uint16>

Converts the argument to a nullable unsigned 16-bit integer, Nullable<uint16>. This is a direct conversion for all primitive numeric types. The operation requires an appropriate static conversion method on the input type.

uint32 : System.Nullable<'T> -> System.Nullable<uint32>

Converts the argument to a nullable unsigned 32-bit integer, Nullable<uint32>. This is a direct conversion for all primitive numeric types. The operation requires an appropriate static conversion method on the input type.

uint64 : System.Nullable<'T> -> System.Nullable<uint64>

Converts the argument to a nullable unsigned 64-bit integer, Nullable<uint64>. This is a direct conversion for all primitive numeric types. The operation requires an appropriate static conversion method on the input type.

unativeint : System.Nullable<'T> -> System.Nullable<unativeint>

Converts the argument to a nullable unsigned native integer, Nullable<unativeint>, using a direct conversion for all primitive numeric types. Otherwise, the operation requires an appropriate static conversion method on the input type.

Windows 7, Windows Vista SP2, Windows XP SP3, Windows XP x64 SP2, Windows Server 2008 R2, Windows Server 2008 SP2, Windows Server 2003 SP2

F# Runtime

Supported in: 2.0, 4.0

Silverlight

Supported in: 3.0

Did you find this helpful?
(1500 characters remaining)