SqlMoney.Subtract Method (SqlMoney, SqlMoney)

 

The subtraction operator subtracts the second SqlMoney parameter from the first.

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

public static SqlMoney Subtract(
	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 structure that contains the results of the subtraction.

.NET Framework
Available since 1.1
Return to top
Show: