IAdditionOperators<TSelf,TOther,TResult>.CheckedAddition 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.
Adds two values together to compute their sum.
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
Parameters
- left
- TSelf
The value to which right
is added.
- right
- TOther
The value which is added to left
.
Returns
TResult
The sum of left
and right
.
Exceptions
The sum of left
and right
is not representable by TResult
.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.