Redigera

Dela via


SqlMoney.Addition(SqlMoney, SqlMoney) Operator

Definition

Calculates the sum of the two SqlMoney parameters.

public:
 static System::Data::SqlTypes::SqlMoney operator +(System::Data::SqlTypes::SqlMoney x, System::Data::SqlTypes::SqlMoney y);
public static System.Data.SqlTypes.SqlMoney operator + (System.Data.SqlTypes.SqlMoney x, System.Data.SqlTypes.SqlMoney y);
static member ( + ) : System.Data.SqlTypes.SqlMoney * System.Data.SqlTypes.SqlMoney -> System.Data.SqlTypes.SqlMoney
Public Shared Operator + (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.

Remarks

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

Applies to

See also