Edit

Share via


SqlDecimal.Subtraction(SqlDecimal, SqlDecimal) Operator

Definition

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

public static System.Data.SqlTypes.SqlDecimal operator -(System.Data.SqlTypes.SqlDecimal x, System.Data.SqlTypes.SqlDecimal y);

Parameters

x
SqlDecimal

A SqlDecimal structure.

y
SqlDecimal

A SqlDecimal structure.

Returns

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

Remarks

The equivalent method for this operator is SqlDecimal.Subtract(SqlDecimal, SqlDecimal).

Applies to

See also