SqlMoney.Add(SqlMoney, SqlMoney) SqlMoney.Add(SqlMoney, SqlMoney) SqlMoney.Add(SqlMoney, SqlMoney) SqlMoney.Add(SqlMoney, SqlMoney) Method

定义

计算两个 SqlMoney 参数的和。Calculates the sum of the two SqlMoney parameters.

public:
 static System::Data::SqlTypes::SqlMoney Add(System::Data::SqlTypes::SqlMoney x, System::Data::SqlTypes::SqlMoney y);
public static System.Data.SqlTypes.SqlMoney Add (System.Data.SqlTypes.SqlMoney x, System.Data.SqlTypes.SqlMoney y);
static member Add : System.Data.SqlTypes.SqlMoney * System.Data.SqlTypes.SqlMoney -> System.Data.SqlTypes.SqlMoney
Public Shared Function Add (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 结构,它的 Value 包含两个 SqlMoney 参数的和。A new SqlMoney structure whose Value contains the sum of the two SqlMoney parameters.

适用于

另请参阅