CurrencyInfoProviderGetCurrenciesByCode Method |
Returns CurrencyInfo objects present on given site in form of dictionary mapping currency code to CurrencyInfo object.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 10.0.0
Syntaxpublic static IDictionary<string, CurrencyInfo> GetCurrenciesByCode(
int siteId
)
Parameters
- siteId
- Type: SystemInt32
ID of the site to get currencies for. 'Use global currencies' setting is considered.
Return Value
Type:
IDictionaryString,
CurrencyInfo
See Also