Click or drag to resize
CurrencyInfoProviderGetCurrencies Method (Int32, Boolean)
Returns dataset of all currencies matching the specified parameters.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
public static ObjectQuery<CurrencyInfo> GetCurrencies(
	int siteId,
	bool onlyEnabled = false
)

Parameters

siteId
Type: SystemInt32
ID of the site the currencies should be retrieved from. If set to 0, global currencies are retrieved
onlyEnabled (Optional)
Type: SystemBoolean
If true, only enabled currencies are returned

Return Value

Type: ObjectQueryCurrencyInfo
See Also