NullableOperators.( ?+ )<^T1,^T2,^T3>-Funktion (F#)
Der Additionsoperator, wobei ein auf NULL festlegbarer Wert auf der linken Seite angezeigt wird.
Namespace/Module Path: Microsoft.FSharp.Linq.NullableOperators
Assembly: FSharp.Core (in 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
Parameter
nullableValue
Typ: Nullable<^T1>Der erste Eingabewert, als Typ, der NULL-Werte zulässt.
value
Typ: ^T2Der zweite Eingabewert.
Rückgabewert
Die Summe der beiden Eingabewerte, als Typ, der NULL-Werte zulässt.
Hinweise
Wenn der erste Wert NULL ist, ist das Ergebnis, als Typ, der NULL-Werte zulässt, NULL.
Plattformen
Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2
Versionsinformationen
F#-Kern-Bibliotheks-Versionen
Unterstützt in: 4,0, portablen