IUnaryNegationOperators<TSelf,TResult>.UnaryNegation(TSelf) 運算子

定義

計算值的一元負數。

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

參數

value
TSelf

要計算一元負數的值。

傳回

TResult

的一元負數 value

適用於