Subtraction Operator

SqlDecimal.Subtraction Operator (SqlDecimal, SqlDecimal)

equivalentCodeEntityM:System.Data.SqlTypes.SqlDecimal.Subtract(System.Data.SqlTypes.SqlDecimal,System.Data.SqlTypes.SqlDecimal )

Calculates the results of subtracting the second SqlDecimal operand from the first.

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

public static SqlDecimal operator -(
	SqlDecimal x,
	SqlDecimal y

Return Value

Type: System.Data.SqlTypes.SqlDecimal

A new SqlDecimal structure whose Value property contains the results of the subtraction.

.NET Framework
Available since 1.1
Return to top
© 2015 Microsoft