Int16.IUnaryNegationOperators<Int16,Int16>.UnaryNegation(Int16) 運算子

定義

計算值的一元負數。

 static short System.Numerics.IUnaryNegationOperators<System.Int16,System.Int16>.operator -(short value) = System::Numerics::IUnaryNegationOperators<short, short>::op_UnaryNegation;
static short IUnaryNegationOperators<short,short>.operator - (short value);
static member ( ~- ) : int16 -> int16
 Shared Operator - (value As Short) As Short Implements IUnaryNegationOperators(Of Short, Short).op_UnaryNegation

參數

value
Int16

要計算一元負數的值。

傳回

value 一元負數。

實作

適用於