SqlInt32.OnesComplement(SqlInt32) 运算符

定义

对指定的 SqlInt32 结构执行按位二进制反码运算。Performs a bitwise one's complement operation on the specified SqlInt32 structure.

public:
 static System::Data::SqlTypes::SqlInt32 operator ~(System::Data::SqlTypes::SqlInt32 x);
public static System.Data.SqlTypes.SqlInt32 operator ~ (System.Data.SqlTypes.SqlInt32 x);
static member op_OnesComplement : System.Data.SqlTypes.SqlInt32 -> System.Data.SqlTypes.SqlInt32
Public Shared Operator Not (x As SqlInt32) As SqlInt32

参数

x
SqlInt32

SqlInt32 结构。A SqlInt32 structure.

返回

一个 SqlInt32 结构,它包含二进制求补运算的结果。A SqlInt32 structure that contains the results of the one's complement operation.

注解

此运算符的等效方法是 SqlInt32.OnesComplement(SqlInt32)The equivalent method for this operator is SqlInt32.OnesComplement(SqlInt32)

适用于

另请参阅