ISubtractionOperators<TSelf,TOther,TResult>.CheckedSubtraction Operator

Definition

Subtracts two values to compute their difference.

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

Parameters

left
TSelf

The value from which right is subtracted.

right
TOther

The value which is subtracted from left.

Returns

TResult

The value of right subtracted from left.

Exceptions

The value of right subtracted from left is not representable by TResult.

Applies to