SqlInt16::UnaryNegation Operator (SqlInt16)

 

The unary minus operator negates the Value of the SqlInt16 operand.

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

public:
static SqlInt16 operator -(
	SqlInt16 x
)

Parameters

x
Type: System.Data.SqlTypes::SqlInt16

A SqlInt16 structure.

Return Value

Type: System.Data.SqlTypes::SqlInt16

A SqlInt16 structure that contains the negated value.

.NET Framework
Available since 1.1
Return to top
Show: