SqlDecimal.Addition(SqlDecimal, SqlDecimal) SqlDecimal.Addition(SqlDecimal, SqlDecimal) SqlDecimal.Addition(SqlDecimal, SqlDecimal) SqlDecimal.Addition(SqlDecimal, SqlDecimal) Operator

定义

计算两个 SqlDecimal 操作数的和。Calculates the sum of the two SqlDecimal operators.

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

参数

返回

一个新的 SqlDecimal 结构,它的 Value 属性包含该和。A new SqlDecimal structure whose Value property contains the sum.

注解

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

适用于

另请参阅