SqlDecimal.Addition(SqlDecimal, SqlDecimal) Operator

Definition

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

Parameters

x
SqlDecimal

A SqlDecimal structure.

y
SqlDecimal

A SqlDecimal structure.

Returns

A new SqlDecimal structure whose Value property contains the sum.

Remarks

The equivalent method for this operator is SqlDecimal.Add(SqlDecimal, SqlDecimal).

Applies to

See also