SqlMoney.Add(SqlMoney, SqlMoney) Method

Definition

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

Parameters

x
SqlMoney

A SqlMoney structure.

y
SqlMoney

A SqlMoney structure.

Returns

A new SqlMoney structure whose Value contains the sum of the two SqlMoney parameters.

Applies to

See also