SqlMoney.Addition Operator (SqlMoney, SqlMoney)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

equivalentCodeEntityM:System.Data.SqlTypes.SqlMoney.Add(System.Data.SqlTypes.SqlMoney,System.Data.SqlTypes.SqlMoney)

Calculates the sum of the two SqlMoney parameters.

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

public static SqlMoney operator +(
	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: