SqlInt32.OnesComplement(SqlInt32) 方法

定义

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

public:
 static System::Data::SqlTypes::SqlInt32 OnesComplement(System::Data::SqlTypes::SqlInt32 x);
public static System.Data.SqlTypes.SqlInt32 OnesComplement (System.Data.SqlTypes.SqlInt32 x);
static member OnesComplement : System.Data.SqlTypes.SqlInt32 -> System.Data.SqlTypes.SqlInt32
Public Shared Function OnesComplement (x As SqlInt32) As SqlInt32

参数

x
SqlInt32

SqlInt32 结构。A SqlInt32 structure.

返回

SqlInt32

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

适用于