Click or drag to resize

IContentItemHooksTOnBeforeDelete Method


Custom hook that fires before a Content Item is deleted.

Namespace:  Ingeniux.CMS.Models.Hooks
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
void OnBeforeDelete(
	T contentItem,
	IUserWriteSession session
)

Parameters

contentItem
Type: T
Loaded Content Item.
session
Type: Ingeniux.CMSIUserWriteSession
IUserWriteSession in which the Content Item is loaded into.
See Also