Szerkesztés

Megosztás a következőn keresztül:


IUnaryNegationOperators<TSelf,TResult>.UnaryNegation(TSelf) Operator

Definition

Computes the unary negation of a value.

public:
 static TResult operator -(TSelf value);
public static abstract TResult operator - (TSelf value);
static member ( ~- ) : 'Self -> 'Result
Public Shared Operator - (value As TSelf) As TResult

Parameters

value
TSelf

The value for which to compute the unary negation.

Returns

TResult

The unary negation of value.

Applies to