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
)
Sub RemoveContentItems (
Optional itemIds As String() = Nothing
)
void RemoveContentItems(
array<String^>^ itemIds = nullptr
)
abstract RemoveContentItems :
?itemIds : string[]
(* Defaults:
let _itemIds = defaultArg itemIds null
*)
-> unit
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:
string[] contentItemsToRemove = new string[2] { "x123", "a/123"};
category.RemoveContentItems(contentItemsToRemove);
See Also