Click or drag to resize
VariantHelperDeleteAllVariantsInternal Method
Deletes all variants one by one. If delete operation is successful for processing variant removeSucceededAction with variant ID as a parameter is launched.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 10.0.0
Syntax
C#
protected virtual void DeleteAllVariantsInternal(
	int productId,
	Action<int> removeSucceededAction = null
)

Parameters

productId
Type: SystemInt32
The product ID with variants to delete.
removeSucceededAction (Optional)
Type: SystemActionInt32
The remove succeeded action with variant ID as a parameter.
See Also