Duration (Pacific Standard Time):
To (Pacific Standard Time):
  • None
User Action:
  • None

NullableOperators.( +? )<^T1,^T2,^T3> Function (F#)


The addition operator where a nullable value appears on the right.

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

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

// Signature:
( +? ) : ^T1 -> Nullable<^T2> -> Nullable<^T3> when ^T1 with static member (+) and ^T2 with static member (+) and ^T2 : (new : unit ->  ^T2) and ^T2 : struct and ^T2 :> ValueType and ^T3 : (new : unit ->  ^T3) and ^T3 : struct and ^T3 :> ValueType

// Usage:
value +? nullableValue 

Type: ^T1

The first input value.


Type: Nullable<T><^T2>

The second input value, as a nullable value.

The sum of the two input values, as a nullable value.

If the second value is null, the return value is null.

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

F# Core Library Versions

Supported in: 4.0, Portable