Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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

The subtraction operator where a nullable value appears on the left.

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

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

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

// Usage:
nullableValue ?- value


Type: Nullable<T><^T1>

The first input value, as a nullable value.


Type: ^T2

The second input value.

The result of the subtraction, as a nullable value.

If the first value is null, then the result is null, as a nullable value.

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

F# Core Library Versions

Supported in: 4.02.0, 4.0, Portable

© 2015 Microsoft