SqlInt16::OnesComplement Method (SqlInt16)

 

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

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

public:
static SqlInt16 OnesComplement(
	SqlInt16 x
)

Parameters

x
Type: System.Data.SqlTypes::SqlInt16

A SqlInt16 structure.

Return Value

Type: System.Data.SqlTypes::SqlInt16

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

.NET Framework
Available since 1.1
Return to top
Show: