Edit

Share via


SqlInt16.UnaryNegation(SqlInt16) Operator

Definition

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

public:
 static System::Data::SqlTypes::SqlInt16 operator -(System::Data::SqlTypes::SqlInt16 x);
public static System.Data.SqlTypes.SqlInt16 operator - (System.Data.SqlTypes.SqlInt16 x);
static member ( ~- ) : System.Data.SqlTypes.SqlInt16 -> System.Data.SqlTypes.SqlInt16
Public Shared Operator - (x As SqlInt16) As SqlInt16

Parameters

x
SqlInt16

A SqlInt16 structure.

Returns

A SqlInt16 structure that contains the negated value.

Applies to

See also