SqlMoney.Subtraction(SqlMoney, SqlMoney) SqlMoney.Subtraction(SqlMoney, SqlMoney) SqlMoney.Subtraction(SqlMoney, SqlMoney) SqlMoney.Subtraction(SqlMoney, SqlMoney) Operator

定义

该减法运算符从第一个 SqlMoney 参数中减去第二个参数。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

参数

x
SqlMoney SqlMoney SqlMoney SqlMoney

一个 SqlMoney 结构。A SqlMoney structure.

y
SqlMoney SqlMoney SqlMoney SqlMoney

一个 SqlMoney 结构。A SqlMoney structure.

返回

一个新的 SqlMoney 结构,它包含该减法运算的结果。A new SqlMoney structure that contains the results of the subtraction.

注解

此运算符的等效方法是 SqlMoney.Subtract(SqlMoney, SqlMoney)The equivalent method for this operator is SqlMoney.Subtract(SqlMoney, SqlMoney)

适用于

另请参阅