共用方式為


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 結構,含有相反的值。

適用於

另請參閱