SqlInt32.UnaryNegation(SqlInt32) 运算符

定义

Value 操作数的 SqlInt32 求反。

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 ( ~- ) : System.Data.SqlTypes.SqlInt32 -> System.Data.SqlTypes.SqlInt32
Public Shared Operator - (x As SqlInt32) As SqlInt32

参数

x
SqlInt32

SqlInt32 结构。

返回

一个 SqlInt32 结构,包含求反的值。

适用于

另请参阅