This topic has not yet been rated - Rate this topic

SqlMoney Operators and Type Conversions

The SqlMoney type exposes the following members.

  NameDescription
Public operator Static member Addition Calculates the sum of the two SqlMoney parameters.
Public operator Static member Division The division operator divides the first SqlMoney parameter by the second.
Public operator Static member Equality Performs a logical comparison of the two SqlMoney parameters to determine whether they are equal.
Public operator Static member Explicit(Double to SqlMoney) This implicit operator converts the supplied SqlDouble parameter to SqlMoney.
Public operator Static member Explicit(SqlBoolean to SqlMoney) This implicit operator converts the supplied SqlBoolean parameter to SqlMoney.
Public operator Static member Explicit(SqlDecimal to SqlMoney) This operator converts the supplied SqlDecimal parameter to SqlMoney.
Public operator Static member Explicit(SqlDouble to SqlMoney) This operator converts the supplied SqlDouble parameter to SqlMoney.
Public operator Static member Explicit(SqlMoney to Decimal) Converts the specified SqlMoney structure to Decimal.
Public operator Static member Explicit(SqlSingle to SqlMoney) This operator converts the supplied SqlSingle parameter to SqlMoney.
Public operator Static member Explicit(SqlString to SqlMoney) This operator converts the SqlString parameter to SqlMoney.
Public operator Static member GreaterThan Performs a logical comparison of the two SqlMoney parameters to determine whether the first is greater than the second.
Public operator Static member GreaterThanOrEqual Performs a logical comparison of the two SqlMoney parameters to determine whether the first is greater than or equal to the second.
Public operator Static member Implicit(Decimal to SqlMoney) Converts the Decimal parameter to SqlMoney.
Public operator Static member Implicit(Int64 to SqlMoney) This implicit operator converts the supplied Int64 parameter to SqlMoney.
Public operator Static member Implicit(SqlByte to SqlMoney) This implicit operator converts the supplied SqlByte parameter to SqlMoney.
Public operator Static member Implicit(SqlInt16 to SqlMoney) This implicit operator converts the supplied SqlInt16 parameter to SqlMoney.
Public operator Static member Implicit(SqlInt32 to SqlMoney) This implicit operator converts the supplied SqlInt32 parameter to SqlMoney.
Public operator Static member Implicit(SqlInt64 to SqlMoney) This implicit operator converts the supplied SqlInt64 parameter to SqlMoney.
Public operator Static member Inequality Performs a logical comparison of the two SqlMoney parameters to determine whether they are not equal.
Public operator Static member LessThan Performs a logical comparison of the two SqlMoney parameters to determine whether the first is less than the second.
Public operator Static member LessThanOrEqual Performs a logical comparison of the two SqlMoney parameters to determine whether the first is less than or equal to the second.
Public operator Static member Multiply The multiplicaion operator calculates the product of the two SqlMoney parameters.
Public operator Static member Subtraction The subtraction operator subtracts the second SqlMoney parameter from the first.
Public operator Static member UnaryNegation The unary minus operator negates the SqlMoney parameter.
Top
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.