共用方式為


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

定義

計算值的一元負數。

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

參數

value
UIntPtr

unativeint

要計算一元負數的值。

傳回

UIntPtr

unativeint

的一元負數 value

實作

適用於