Click or drag to resize
CurrencyInfoProviderIsCurrencyWithExchangeRate Method
Returns true if site specified by its ID has defined exchange rate to given currency. Only enabled currencies are searched.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
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: Boolean
See Also