Click or drag to resize

IContentItemHooksTOnRename Method


Custom hook that fires when a Content Item is renamed.

Namespace: Ingeniux.CMS.Models.Hooks
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntax
void OnRename(
	string oldName,
	string newName,
	T contentItem,
	IUserWriteSession session
)

Parameters

oldName  String
Previous name for the Content Item.
newName  String
New name for the Content Item.
contentItem  T
Loaded Content Item.
session  IUserWriteSession
IUserWriteSession in which the Content Item is loaded into.
See Also