Rediger

Del via


SqlMoney.UnaryNegation(SqlMoney) Operator

Definition

The unary minus operator negates the SqlMoney parameter.

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

Parameters

x
SqlMoney

The SqlMoney structure to be negated.

Returns

A SqlMoney structure whose Value contains the results of the negation.

Applies to

See also