IUnaryNegationOperators<TSelf,TResult>.CheckedUnaryNegation Operator

Definition

Computes the checked unary negation of a value.

public:
 static override TResult op_CheckedUnaryNegation(TSelf value);
public static virtual TResult op_CheckedUnaryNegation (TSelf value);
static member op_CheckedUnaryNegation : 'Self -> 'Result
Public Shared Overrides op_CheckedUnaryNegation (value As TSelf) As TResult

Parameters

value
TSelf

The value for which to compute the unary negation.

Returns

TResult

The unary negation of value.

Exceptions

The unary negation of value is not representable by TResult.

Applies to