Compartir a través de


NullableOperators.( ?-? )<^T1,^T2,^T3> (Función de F#)

El operador de resta donde un valor que aparece en ambos lados izquierdo y derecho.

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

Ensamblado: FSharp.Core (en 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

Parámetros

  • nullableValue1
    Tipo: Nullable<T><^T1>

    El primer valor de entrada, como valor que acepta valores NULL.

  • nullableValue2
    Tipo: Nullable<T><^T2>

    El segundo valor de entrada, como vlue que acepta valores NULL.

Valor devuelto

El resultado de resta, como valor que acepta valores NULL.

Comentarios

Si uno de los valores es null, el resultado es null.

Plataformas

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

Información de versiones

Versiones de la biblioteca básica de F#

Se admite en: 4.0, portable

Vea también

Referencia

Linq.NullableOperators (Módulo de F#)

Microsoft.FSharp.Linq (Espacio de nombres de F#)