SqlInt16.OnesComplement(SqlInt16) Method

Definition

The ~ operator performs a bitwise one's complement operation on its SqlByte operand.

public:
 static System::Data::SqlTypes::SqlInt16 OnesComplement(System::Data::SqlTypes::SqlInt16 x);
public static System.Data.SqlTypes.SqlInt16 OnesComplement (System.Data.SqlTypes.SqlInt16 x);
static member OnesComplement : System.Data.SqlTypes.SqlInt16 -> System.Data.SqlTypes.SqlInt16
Public Shared Function OnesComplement (x As SqlInt16) As SqlInt16

Parameters

x
SqlInt16

A SqlInt16 structure.

Returns

A SqlInt16 structure whose Value property contains the complement of the specified SqlInt16 structure.

Applies to

See also