Breyta

Deila með


SqlDecimal.UnaryNegation(SqlDecimal) Operator

Definition

The unary minus operator negates the SqlDecimal parameter.

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

Parameters

x
SqlDecimal

The SqlDecimal structure to be negated.

Returns

A new SqlDecimal structure whose value contains the results of the negation.

Applies to

See also