Click or drag to resize
GiftCardCouponCodeInfoProviderGet Method (String, Int32)
Gets an instance of info object based on its code name and site ID.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
public override GiftCardCouponCodeInfo Get(
	string name,
	int siteId
)

Parameters

name
Type: SystemString
Code name of the info object to look for.
siteId
Type: SystemInt32
ID of the site to which to constrain the lookup.

Return Value

Type: GiftCardCouponCodeInfo
Returns an instance of GiftCardCouponCodeInfo corresponding to name and siteId or null.

Implements

IInfoBySiteAndNameProviderTInfoGet(String, Int32)
IInfoBySiteAndNameProviderTInfoGet(String, Int32)
See Also