CurrencyInfoProviderIsCurrencyWithExchangeRate Method |
Returns true if site specified by its ID has defined exchange rate to given currency. Only enabled currencies are searched.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax public static bool IsCurrencyWithExchangeRate(
int currencyId,
int siteId
)
Parameters
- currencyId
- Type: SystemInt32
ID of currency to be looked for - siteId
- Type: SystemInt32
ID of the site to get exchange table for
Return Value
Type:
BooleanSee Also