Click or drag to resize

IContentItemHooksTOnAfterDelete Method


Custom hook that fires after a Content Item is deleted.

Namespace: Ingeniux.CMS.Models.Hooks
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntax
void OnAfterDelete(
	string contentItemId,
	bool permenant,
	T contentItem,
	IUserWriteSession session
)

Parameters

contentItemId  String
Id of the Content Item that was removed.
permenant  Boolean
True if the removal was permanent. False if it is moved to the RecycleBin.
contentItem  T
Loaded Content Item. Edits will be lost if permanent is True.
session  IUserWriteSession
IUserWriteSession in which the Content Item is loaded into.
See Also