共用方式為


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

定義

計算值的一元負數。

 static float System.Numerics.IUnaryNegationOperators<System.Single,System.Single>.operator -(float value) = System::Numerics::IUnaryNegationOperators<float, float>::op_UnaryNegation;
static float IUnaryNegationOperators<float,float>.operator - (float value);
static member ( ~- ) : single -> single
 Shared Operator - (value As Single) As Single Implements IUnaryNegationOperators(Of Single, Single).op_UnaryNegation

參數

value
Single

要計算一元負數的值。

傳回

的一元負數 value

實作

適用於