SqlDecimal.UnaryNegation Operator (SqlDecimal)

 

The unary minus operator negates the SqlDecimal parameter.

Namespace:   System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

public static SqlDecimal operator -(
	SqlDecimal x
)

Parameters

x
Type: System.Data.SqlTypes.SqlDecimal

The SqlDecimal structure to be negated.

Return Value

Type: System.Data.SqlTypes.SqlDecimal

A new SqlDecimal structure whose value contains the results of the negation.

.NET Framework
Available since 1.1
Return to top
Show: