Click or drag to resize
VariantHelperCheckVariantCategoriesConsistencyInternal Method (Int32, IEnumerableInt32)
Checks if specified categories are used all and only in variants of specified product.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 10.0.0
Syntax
C#
protected virtual bool CheckVariantCategoriesConsistencyInternal(
	int productId,
	IEnumerable<int> categoryIds
)

Parameters

productId
Type: SystemInt32
The product ID.
categoryIds
Type: System.Collections.GenericIEnumerableInt32
The category IDs.

Return Value

Type: Boolean
True if specified categories are used all and only in variants of specified product; False otherwise.
See Also