VariantHelper.CheckVariantCategoriesConsistency Method (Int32, IEnumerable<Int32>) |
Checks if specified categories are used all and only in variants of specified product.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntaxpublic static bool CheckVariantCategoriesConsistency(
int productId,
IEnumerable<int> categoryIds
)
Parameters
- productId
- Type: System.Int32
The product ID. - categoryIds
- Type: System.Collections.Generic.IEnumerable<Int32>
The category IDs.
Return Value
Type:
BooleanTrue if specified categories are used all and only in variants of specified product; False otherwise.
See Also