NullableOperators.( ?+?)<^T1,^T2,^T3> 関数 (F#)

null 許容値が左側と右側の両方で同様です。加算演算子。

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

アセンブリ: FSharp.Core (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

パラメーター

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

    null 許容値として最初の入力値。

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

    null 許容値として 2 番目の入力値。

戻り値

The sum null 許容値として 2 個の入力値の。

解説

値のいずれかが null の場合、戻り値は null です。

プラットフォーム

Windows 8、Windows 7、Windows Server 2012 で Windows Server 2008 R2

バージョン情報

F# コア ライブラリのバージョン

サポート: 4.0、ポータブル

参照

関連項目

Linq.NullableOperators モジュール (F#)

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