Bewerken

Delen 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);
public static System.Data.SqlTypes.SqlDecimal operator - (System.Data.SqlTypes.SqlDecimal x, System.Data.SqlTypes.SqlDecimal y);
static member ( - ) : System.Data.SqlTypes.SqlDecimal * System.Data.SqlTypes.SqlDecimal -> System.Data.SqlTypes.SqlDecimal
Public Shared Operator - (x As SqlDecimal, y As SqlDecimal) As SqlDecimal

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