Editare

Partajați prin


SqlMoney.Subtraction(SqlMoney, SqlMoney) Operator

Definition

The subtraction operator subtracts the second SqlMoney parameter from the first.

public:
 static System::Data::SqlTypes::SqlMoney operator -(System::Data::SqlTypes::SqlMoney x, System::Data::SqlTypes::SqlMoney y);
public static System.Data.SqlTypes.SqlMoney operator - (System.Data.SqlTypes.SqlMoney x, System.Data.SqlTypes.SqlMoney y);
static member ( - ) : System.Data.SqlTypes.SqlMoney * System.Data.SqlTypes.SqlMoney -> System.Data.SqlTypes.SqlMoney
Public Shared Operator - (x As SqlMoney, y As SqlMoney) As SqlMoney

Parameters

x
SqlMoney

A SqlMoney structure.

y
SqlMoney

A SqlMoney structure.

Returns

A new SqlMoney structure that contains the results of the subtraction.

Remarks

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

Applies to

See also