Click or drag to resize
ExchangeRateInfoProviderGetExchangeRateInfo Method (Int32, Int32)

Note: This API is now obsolete.

Returns exchange rate from specified exchange table which is applied to specified currency.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IExchangeRateInfoProvider.Get(int, int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - ExchangeRateInfo.Provider.")]
public static ExchangeRateInfo GetExchangeRateInfo(
	int currencyId,
	int tableId
)

Parameters

currencyId
Type: SystemInt32
Currency ID
tableId
Type: SystemInt32
Exchange table ID

Return Value

Type: ExchangeRateInfo
See Also