IAdditionOperators<TSelf,TOther,TResult>.CheckedAddition Operator

Definicja

Dodaje dwie wartości w celu obliczenia ich sumy.

public:
 static override TResult op_CheckedAddition(TSelf left, TOther right);
public static virtual TResult op_CheckedAddition (TSelf left, TOther right);
static member op_CheckedAddition : 'Self * 'Other -> 'Result
Public Shared Overrides op_CheckedAddition (left As TSelf, right As TOther) As TResult

Parametry

left
TSelf

Wartość, do której right jest dodawana.

right
TOther

Wartość dodawana do leftelementu .

Zwraca

TResult

Suma wartości left i right.

Wyjątki

Suma elementów left i right nie jest reprezentowana przez TResultelement .

Dotyczy