Click or drag to resize

ICategoryNodeRemoveContentItems Method


Removes a collection of IContentItem with this CategoryNode.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
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