NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Currency Members

Public:

Constructor

Currency Constructor Overloaded. Initializes a new instance of the Currency class.

Methods

Abs Returns the absolute value of the given Currency.
Add Adds two Currency values.
Compare Compares two Currency values and returns an integer that indicates the result of the comparison.
CompareTo Compares this instance to a specified Object.
Divide Divides two Currency values and produces a Decimal result.
Equals Overloaded. Determines whether two values are equal.
Floor Rounds a Currency toward negative infinity to the nearest integer value.
Format Overloaded. Converts a numeric value to a String.
FromOACurrency Creates a Currency from an OLE Automation Currency.
FromString Converts a String to a Currency.
GetHashCode Gets the hash code for this instance of Currency.
GetType (inherited from Object) Gets the Type of the Object.
Max Returns the larger of two Currency values.
Min Returns the smaller of two Currency values.
Multiply Multiplies two Currency values and returns a Decimal result.
Negate Returns the negated value of the specified Currency.
Parse Overloaded. Converts a String to a Currency.
Round Rounds a Currency value to a specified number of places.
Subtract Subtracts two specified Currency values.
ToDecimal Converts a Currency to a Decimal.
ToDouble Converts a Currency to a Double.
ToInt32 Converts a Currency to an Int32.
ToInt64 Converts a Currency to an Int64.
ToOACurrency Creates an OLE Automation Currency from a Currency instance.
ToSingle Converts a Currency to a Single.
ToString Overloaded. Converts a Currency to a String.
ToUInt32 Converts a Currency to a UInt32.
ToUInt64 Converts a Currency to a UInt64.
Truncate Truncates a Currency to an integer value.

Operators and Type Conversions

Addition Operator [To be supplied.]
Decrement Operator [To be supplied.]
Division Operator Divides two Currency values and produces a Currency result.
Equality Operator [To be supplied.]
Greater Than Operator [To be supplied.]
Greater Than Or Equal Operator [To be supplied.]
Increment Operator [To be supplied.]
Inequality Operator [To be supplied.]
Less Than Operator [To be supplied.]
Less Than Or Equal Operator [To be supplied.]
Multiplication Operator Multiplies two Currency values and produces a Currency result.
Subtraction Operator [To be supplied.]
Unary Negation Operator [To be supplied.]
Unary Plus Operator [To be supplied.]
Double to Currency Conversion [To be supplied.]
Currency to Byte Conversion [To be supplied.]
Decimal to Currency Conversion [To be supplied.]
Int64 to Currency Conversion [To be supplied.]
UInt64 to Currency Conversion [To be supplied.]
Single to Currency Conversion [To be supplied.]
Currency to Int64 Conversion [To be supplied.]
Currency to Single Conversion [To be supplied.]
Currency to Double Conversion [To be supplied.]
Currency to Int32 Conversion [To be supplied.]
Currency to SByte Conversion [To be supplied.]
Currency to Int16 Conversion [To be supplied.]
Currency to UInt16 Conversion [To be supplied.]
SByte to Currency Conversion Overloaded. [To be supplied.]

Fields

Empty Representing the constant that is a Currency value that is empty.
MaxValue Representing the constant that is the largest possible Currency value.
MinusOne Representing the constant that is the currency value-1.
MinValue Representing the constant that is the smallest possible Currency value.
One Representing the constant that is the Currency value 1.
Zero Representing the constant that is the Currency value 0.

Protected:

Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Currency Structure | System Namespace