CurrencyInfoProviderGetCurrencies Method (Int32, Boolean) |
Returns dataset of all currencies matching the specified parameters.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax public static ObjectQuery<CurrencyInfo> GetCurrencies(
int siteId,
bool onlyEnabled = false
)
Parameters
- siteId
- Type: SystemInt32
ID of the site the currencies should be retrieved from. If set to 0, global currencies are retrieved - onlyEnabled (Optional)
- Type: SystemBoolean
If true, only enabled currencies are returned
Return Value
Type:
ObjectQueryCurrencyInfoSee Also