SqlInt16::OnesComplement Operator (SqlInt16)

 
equivalentCodeEntityM:System.Data.SqlTypes.SqlInt16.OnesComplement(System.Data.SqlTypes.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 operator ~(
	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: