Export (0) Print
Expand All

SqlMoney Operators and Type Conversions

.NET Framework 1.1

The operators and type conversions of the SqlMoney structure are listed here. For a complete list of SqlMoney structure members, see the SqlMoney Members topic.

Public Type Conversions

public operatorstatic (Shared in Visual Basic)Addition Operator

Supported by the .NET Compact Framework.

Calculates the sum of the two SqlMoney parameters.
public operatorstatic (Shared in Visual Basic)Division Operator

Supported by the .NET Compact Framework.

The division operator divides the first SqlMoney parameter by the second.
public operatorstatic (Shared in Visual Basic)Equality Operator

Supported by the .NET Compact Framework.

Performs a logical comparison of the two SqlMoney parameters to determine if they are equal.
public operatorstatic (Shared in Visual Basic)Greater Than Operator

Supported by the .NET Compact Framework.

Performs a logical comparison of the two SqlMoney parameters to determine if the first is greater than the second.
public operatorstatic (Shared in Visual Basic)Greater Than Or Equal Operator

Supported by the .NET Compact Framework.

Performs a logical comparison of the two SqlMoney parameters to determine if the first is greater than or equal to the second.
public operatorstatic (Shared in Visual Basic)Inequality Operator

Supported by the .NET Compact Framework.

Performs a logical comparison of the two SqlMoney parameters to determine if they are not equal.
public operatorstatic (Shared in Visual Basic)Less Than Operator

Supported by the .NET Compact Framework.

Performs a logical comparison of the two SqlMoney parameters to determine if the first is less than the second.
public operatorstatic (Shared in Visual Basic)Less Than Or Equal Operator

Supported by the .NET Compact Framework.

Performs a logical comparison of the two SqlMoney parameters to determine if the first is less than or equal to the second.
public operatorstatic (Shared in Visual Basic)Multiplication Operator

Supported by the .NET Compact Framework.

The multiplicaion operator calculates the product of the two SqlMoney parameters.
public operatorstatic (Shared in Visual Basic)Subtraction Operator

Supported by the .NET Compact Framework.

The subtraction operator subtracts the second SqlMoney parameter from the first.
public operatorstatic (Shared in Visual Basic)Unary Negation Operator

Supported by the .NET Compact Framework.

The unary minus operator negates the SqlMoney parameter.
public operatorstatic (Shared in Visual Basic)SqlBoolean to SqlMoney Conversion

Supported by the .NET Compact Framework.

This implicit operator converts the supplied SqlBoolean parameter to SqlMoney.
public operatorstatic (Shared in Visual Basic)SqlDecimal to SqlMoney Conversion

Supported by the .NET Compact Framework.

This operator converts the supplied SqlDecimal parameter to SqlMoney.
public operatorstatic (Shared in Visual Basic)SqlDouble to SqlMoney Conversion

Supported by the .NET Compact Framework.

This operator converts the supplied SqlDouble parameter to SqlMoney.
public operatorstatic (Shared in Visual Basic)SqlMoney to Decimal Conversion

Supported by the .NET Compact Framework.

Converts the specified SqlMoney structure to Decimal.
public operatorstatic (Shared in Visual Basic)SqlSingle to SqlMoney Conversion

Supported by the .NET Compact Framework.

This operator converts the supplied SqlSingle parameter to SqlMoney.
public operatorstatic (Shared in Visual Basic)SqlString to SqlMoney Conversion

Supported by the .NET Compact Framework.

This operator converts the SqlString parameter to SqlMoney.
public operatorstatic (Shared in Visual Basic)Decimal to SqlMoney Conversion

Supported by the .NET Compact Framework.

Converts the Decimal parameter to SqlMoney.
public operatorstatic (Shared in Visual Basic)SqlByte to SqlMoney Conversion

Supported by the .NET Compact Framework.

This implicit operator converts the supplied SqlByte parameter to SqlMoney.
public operatorstatic (Shared in Visual Basic)SqlInt16 to SqlMoney Conversion

Supported by the .NET Compact Framework.

This implicit operator converts the supplied SqlInt16 parameter to SqlMoney.
public operatorstatic (Shared in Visual Basic)SqlInt32 to SqlMoney Conversion

Supported by the .NET Compact Framework.

This implicit operator converts the supplied SqlInt32 parameter to SqlMoney.
public operatorstatic (Shared in Visual Basic)SqlInt64 to SqlMoney Conversion

Supported by the .NET Compact Framework.

This implicit operator converts the supplied SqlInt64 parameter to SqlMoney.

See Also

SqlMoney Structure | System.Data.SqlTypes Namespace

Show:
© 2015 Microsoft