Export (0) Print
Expand All

SqlMoney Methods

The methods of the SqlMoney structure are listed here. For a complete list of SqlMoney structure members, see the SqlMoney Members topic.

Public Methods

public methodstatic (Shared in Visual Basic)Add

Supported by the .NET Compact Framework.

Calculates the sum of the two SqlMoney parameters.
public methodCompareTo

Supported by the .NET Compact Framework.

Compares this instance to the supplied object and returns an indication of their relative values.
public methodstatic (Shared in Visual Basic)Divide

Supported by the .NET Compact Framework.

The division operator divides the first SqlMoney parameter by the second.
public methodEquals

Supported by the .NET Compact Framework.

Overloaded.
public methodGetHashCode

Supported by the .NET Compact Framework.

Overridden. Gets the hash code for this instance.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodstatic (Shared in Visual Basic)GreaterThan

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 methodstatic (Shared in Visual Basic)GreaterThanOrEqual

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 methodstatic (Shared in Visual Basic)LessThan

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 methodstatic (Shared in Visual Basic)LessThanOrEqual

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 methodstatic (Shared in Visual Basic)Multiply

Supported by the .NET Compact Framework.

The multiplicaion operator calculates the product of the two SqlMoney parameters.
public methodstatic (Shared in Visual Basic)NotEquals

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

Converts the String representation of a number to its SqlMoney equivalent.
public methodstatic (Shared in Visual Basic)Subtract

Supported by the .NET Compact Framework.

The subtraction operator subtracts the second SqlMoney parameter from the first.
public methodToDecimal

Supported by the .NET Compact Framework.

Converts the Value of this instance of SqlMoney as a Decimal structure.
public methodToDouble

Supported by the .NET Compact Framework.

Converts this SqlMoney structure to a double.
public methodToInt32

Supported by the .NET Compact Framework.

Converts this SqlMoney structure to integer.
public methodToInt64

Supported by the .NET Compact Framework.

Converts the Value of this SqlMoney structure to a long integer.
public methodToSqlBoolean

Supported by the .NET Compact Framework.

Converts this SqlMoney structure to SqlBoolean.
public methodToSqlByte

Supported by the .NET Compact Framework.

Converts this SqlMoney structure to SqlByte.
public methodToSqlDecimal

Supported by the .NET Compact Framework.

Converts this SqlMoney structure to SqlDecimal.
public methodToSqlDouble

Supported by the .NET Compact Framework.

Converts this SqlMoney structure to SqlDouble.
public methodToSqlInt16

Supported by the .NET Compact Framework.

Converts this SqlMoney structure to SqlInt16.
public methodToSqlInt32

Supported by the .NET Compact Framework.

Converts this SqlMoney structure to SqlInt32.
public methodToSqlInt64

Supported by the .NET Compact Framework.

Converts this SqlMoney structure to SqlInt64.
public methodToSqlSingle

Supported by the .NET Compact Framework.

Converts this SqlMoney structure to SqlSingle.
public methodToSqlString

Supported by the .NET Compact Framework.

Converts this SqlMoney structure to SqlString.
public methodToString

Supported by the .NET Compact Framework.

Overridden. Converts this instance of SqlMoney to string.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

SqlMoney Structure | System.Data.SqlTypes Namespace

Show:
© 2015 Microsoft