SqlSingle.UnaryNegation(SqlSingle) 運算子

定義

否定指定的 Value 結構的 SqlSingleNegates the Value of the specified SqlSingle structure.

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

參數

x
SqlSingle

SqlSingle 結構。A SqlSingle structure.

傳回

SqlSingle

SqlSingle 結構,含有相反的值。A SqlSingle structure that contains the negated value.

適用於

另請參閱