Compartilhar via


Função NullableOperators.( ?/ )<^T1,^T2,^T3> (F#)

O operador de divisão onde um valor anulável aparece na esquerda.

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

Assembly: FSharp.Core (em 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

Parâmetros

  • nullableValue
    Tipo: Nullable<^T1>

    O primeiro valor de entrada, como um valor anulável.

  • value
    Tipo: ^T2

    O segundo valor de entrada, como um valor anulável.

Retornar valor

O resultado da divisão, como um valor anulável.

Comentários

Se o primeiro valor for zero, o valor de retorno é zero.

Plataformas

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

Informações de Versão

Versões da biblioteca principal de F#

Suportado em: 4.0, portáteis

Consulte também

Referência

Módulo Linq.NullableOperators (F#)

Namespace Microsoft.FSharp.Linq (F#)