NullableOperators.( /?)<^T1,^T2,^T3> 函数 (F#)

除法运算符可以为 null 值在右边出现的位置。

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

程序集:FSharp.Core(在 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

参数

  • value
    类型:^T1

    第一个输入值。

  • nullableValue
    类型:Nullable<T><^T2>

    第二个输入值,可以为 null 的值。

返回值

部门的结果,可以为 null 的值。

备注

如果第二个值是空的,则结果为空。

平台

Windows 8,Windows 7,Windows server 2012中,Windows server 2008 R2

版本信息

F#核心库版本

支持:4.0,可移植

请参见

参考

Linq.NullableOperators 模块 (F#)

Microsoft.FSharp.Linq 命名空间 (F#)