Bridge

Decimal..::..Decrement Operator

Decrements the Decimal operand by one.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


public static decimal operator --(
	decimal d
)
Public Shared Operator -- ( _
	d As Decimal _
) As Decimal
public:
static Decimal^ operator --(
	Decimal^ d
)

Parameters

d
Type: System..::..Decimal
The value to decrement.

Return Value

The value of d decremented by 1.

Exceptions


ExceptionCondition
System..::..OverflowExceptionThe return value is less than MinValue or greater than MaxValue.