SqlMoney::Add Method (SqlMoney, SqlMoney)

 

Calculates the sum of the two SqlMoney parameters.

Namespace:   System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

public:
static SqlMoney Add(
	SqlMoney x,
	SqlMoney y
)

Parameters

x
Type: System.Data.SqlTypes::SqlMoney

A SqlMoney structure.

y
Type: System.Data.SqlTypes::SqlMoney

A SqlMoney structure.

Return Value

Type: System.Data.SqlTypes::SqlMoney

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

.NET Framework
Available since 1.1
Return to top
Show: