共用方式為


UInt16.IUnaryNegationOperators<UInt16,UInt16>.UnaryNegation 運算子

定義

計算值的一元負數。

 static System::UInt16 System.Numerics.IUnaryNegationOperators<System.UInt16,System.UInt16>.operator -(System::UInt16 value) = System::Numerics::IUnaryNegationOperators<System::UInt16, System::UInt16>::op_UnaryNegation;
static ushort IUnaryNegationOperators<ushort,ushort>.operator - (ushort value);
static member ( ~- ) : uint16 -> uint16
 Shared Operator - (value As UShort) As UShort Implements IUnaryNegationOperators(Of UShort, UShort).op_UnaryNegation

參數

value
UInt16

要計算一元負數的值。

傳回

value 一元負數。

實作

適用於