Redigera

Dela via


SqlDecimal.Add(SqlDecimal, SqlDecimal) Method

Definition

Calculates the sum of the two SqlDecimal operators.

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

Applies to

See also