Compartilhar via


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

The subtraction operator where a nullable value appears on both left and right sides.

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

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

// Signature:
( ?-? ) : Nullable<^T1> -> Nullable<^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 ^T2 : (new : unit ->  ^T2) and ^T2 : struct and ^T2 :> ValueType and ^T3 : (new : unit ->  ^T3) and ^T3 : struct and ^T3 :> ValueType

// Usage:
nullableValue1 ?-? nullableValue2

Parameters

  • nullableValue1
    Type: Nullable<^T1>

    The first input value, as a nullable value.

  • nullableValue2
    Type: Nullable<^T2>

    The second input value, as a nullable vlue.

Return Value

The result of the subtraction, as a nullable value.

Remarks

If either of the values is null, then the result is null.

Platforms

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

Version Information

F# Core Library Versions

Supported in: 4.0, Portable

See Also

Reference

Linq.NullableOperators Module (F#)

Microsoft.FSharp.Linq Namespace (F#)