共用方式為


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
    型別:^T1

    第一個輸入值。

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

    第二個輸入值,可為 Null 之值。

傳回值

減法運算的結果,可為Null之值。

備註

如果第二個值為 null,則結果會是空的。

平台

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

版本資訊

F# 核心程式庫版本

支援版本:4.0,可攜式執行檔 (PE)。

請參閱

參考

Linq.NullableOperators 模組 (F#)

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