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

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

Parameters

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

Return Value

Type: ObjectQuery<CurrencyInfo>
See Also