Compartir a través de


UnaryMinusHelper.UnaryMinus Method

Definition

Overloads

UnaryMinus(Decimal)
UnaryMinus(Int32)
UnaryMinus(Int64)
UnaryMinus(Object)

UnaryMinus(Decimal)

public:
 static System::Decimal UnaryMinus(System::Decimal x);
public static decimal UnaryMinus (decimal x);
static member UnaryMinus : decimal -> decimal
Public Shared Function UnaryMinus (x As Decimal) As Decimal

Parameters

Returns

Applies to

UnaryMinus(Int32)

public:
 static int UnaryMinus(int x);
public static int UnaryMinus (int x);
static member UnaryMinus : int -> int
Public Shared Function UnaryMinus (x As Integer) As Integer

Parameters

x
Int32

Returns

Applies to

UnaryMinus(Int64)

public:
 static long UnaryMinus(long x);
public static long UnaryMinus (long x);
static member UnaryMinus : int64 -> int64
Public Shared Function UnaryMinus (x As Long) As Long

Parameters

x
Int64

Returns

Applies to

UnaryMinus(Object)

public:
 static System::Object ^ UnaryMinus(System::Object ^ x);
public static object UnaryMinus (object x);
static member UnaryMinus : obj -> obj
Public Shared Function UnaryMinus (x As Object) As Object

Parameters

x
Object

Returns

Applies to