Click or drag to resize
SKUAllowedOptionInfoProviderGetSKUOptionInfo Method

Note: This API is now obsolete.

Returns relationship between specified product and option.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use ISKUAllowedOptionInfoProvider.Get(int, int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - SKUAllowedOptionInfo.Provider.")]
public static SKUAllowedOptionInfo GetSKUOptionInfo(
	int productId,
	int optionId
)

Parameters

productId
Type: SystemInt32
Product ID (SKUID).
optionId
Type: SystemInt32
Product option ID (SKUID).

Return Value

Type: SKUAllowedOptionInfo
See Also