SqlByte.OnesComplement Operator (SqlByte)

 
equivalentCodeEntityM:System.Data.SqlTypes.SqlByte.OnesComplement(System.Data.SqlTypes.SqlByte)

The ones complement 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 SqlByte operator ~(
	SqlByte x
)

Parameters

x
Type: System.Data.SqlTypes.SqlByte

A SqlByte structure.

Return Value

Type: System.Data.SqlTypes.SqlByte

A SqlByte structure whose Value property contains the ones complement of the SqlByte parameter.

.NET Framework
Available since 1.1
Return to top
Show: