Click or drag to resize
CurrencyInfoProviderGetMainCurrency Method
Returns main currency of the specified site.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
public static CurrencyInfo GetMainCurrency(
	int siteId
)

Parameters

siteId
Type: SystemInt32
Site ID for site main currency or 0 for global main currency

Return Value

Type: CurrencyInfo
See Also