IUnaryNegationOperators<TSelf,TResult>.UnaryNegation(TSelf) 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.
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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.