SqlDecimal.Subtraction Operator (SqlDecimal, SqlDecimal)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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