Export (0) Print
Expand All

SqlBoolean Ones Complement Operator

Performs a one's complement operation on the supplied SqlBoolean structures.

[Visual Basic]
returnValue = SqlBoolean.op_OnesComplement(x)
[C#]
public static SqlBoolean operator ~(
 SqlBoolean x
);
[C++]
public: static SqlBoolean op_OnesComplement(
 SqlBoolean x
);
[JScript]
returnValue = ~x;

[Visual Basic] In Visual Basic, you can use the operators defined by a type, but you cannot define your own. You can use the OnesComplement method instead of the SqlBoolean ones complement operator.

[JScript] In JScript, you can use the operators defined by a type, but you cannot define your own.

Arguments [Visual Basic, JScript]

x
A SqlBoolean structure.

Parameters [C#, C++]

x
A SqlBoolean structure.

Return Value

The one's complement of the supplied SqlBoolean.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

SqlBoolean Structure | SqlBoolean Members | System.Data.SqlTypes Namespace

Show:
© 2015 Microsoft