Click or drag to resize
CurrencyInfoProviderGetMainCurrencyCode Method
Returns code of main currency for given site. Returns empty string when not found.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax
C#
public static string GetMainCurrencyCode(
	int siteId
)

Parameters

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

Return Value

Type: String
See Also