Click or drag to resize

ICategoryNodeRemoveContentItems Method


Removes association of this CategoryNode from collection of IContentItems.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
void RemoveContentItems(
	string[] itemIds = null
)

Parameters

itemIds (Optional)
Type: SystemString
The ids of the content items to be removed.
Examples
Example removing category association of multiple content items in custom hook:
C#
string[] contentItemsToRemove = new string[2] { "x123", "a/123"};
category.RemoveContentItems(contentItemsToRemove);
See Also