Click or drag to resize
CurrencyInfoProviderChangeMainCurrency Method
Changes main currency.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
public static void ChangeMainCurrency(
	int siteId,
	int newCurrencyId
)

Parameters

siteId
Type: SystemInt32
ID of the site, which main currency is to be changed
newCurrencyId
Type: SystemInt32
ID of the new main currency
See Also