Muokkaa

Jaa


SqlMoney.Subtract(SqlMoney, SqlMoney) Method

Definition

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

public:
 static System::Data::SqlTypes::SqlMoney Subtract(System::Data::SqlTypes::SqlMoney x, System::Data::SqlTypes::SqlMoney y);
public static System.Data.SqlTypes.SqlMoney Subtract (System.Data.SqlTypes.SqlMoney x, System.Data.SqlTypes.SqlMoney y);
static member Subtract : System.Data.SqlTypes.SqlMoney * System.Data.SqlTypes.SqlMoney -> System.Data.SqlTypes.SqlMoney
Public Shared Function Subtract (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.

Applies to

See also