Assembly: Mediachase.Commerce (in Mediachase.Commerce.dll) Version: 7.9.0
C# |
---|
public struct Currency : IComparable<Currency>, IEquatable<Currency>, IComparable |
Currency is an immutable struct type that encapsulates a type of currency.
Name | Summary | Status |
---|---|---|
CompareTo | Compares currency instances for ordering purposes. | public |
Equals(Currency) | public | |
Equals(Object) | Determines whether the specified Object is equal to this instance. | public |
GetHashCode | Returns a hash code for this instance. | public |
SetFormat | Sets a currency format. | public, static |
ToString | Returns a String that represents this instance. | public |
Name | Summary | Status |
---|---|---|
CurrencyCode | Gets the currency code. | public |
Format | Gets the currency format. | public |
IsEmpty | Gets a value indicating whether this instance is empty. | public |
The currency code may be no longer than 8 characters, and may not contain any digits.