Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ISubtractionOperators<TSelf,TOther,TResult>.CheckedSubtraction Operator

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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 that 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


Feedback

Was this page helpful?