SqlMoney.UnaryNegation Operator (SqlMoney)

 

The unary minus operator negates the SqlMoney parameter.

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

public static SqlMoney operator -(
	SqlMoney x
)

Parameters

x
Type: System.Data.SqlTypes.SqlMoney

The SqlMoney structure to be negated.

Return Value

Type: System.Data.SqlTypes.SqlMoney

A SqlMoney structure whose Value contains the results of the negation.

.NET Framework
Available since 1.1
Return to top
Show: