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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.