Click or drag to resize

IPageHooksOnBeforeRegionRootCopy Method


Custom hook that fires before a Region Root is lingually copied.

Namespace: Ingeniux.CMS.Models.Hooks
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntax
void OnBeforeRegionRootCopy(
	IPage sourcecontentItem,
	IPage targetcontentItem,
	EnumCopyActions relation,
	string targetLocale,
	IUserWriteSession session
)

Parameters

sourcecontentItem  IPage
Source Region Root being copied.
targetcontentItem  IPage
Target Region Root location, either parent or sibling to the new page.
relation  EnumCopyActions
Contains information about what relation the new Region Root will have to the targetcontentItem.
targetLocale  String

[Missing <param name="targetLocale"/> documentation for "M:Ingeniux.CMS.Models.Hooks.IPageHooks.OnBeforeRegionRootCopy(Ingeniux.CMS.IPage,Ingeniux.CMS.IPage,Ingeniux.CMS.Enums.EnumCopyActions,System.String,Ingeniux.CMS.IUserWriteSession)"]

session  IUserWriteSession
IUserWriteSession in which the Region Root is loaded in.
See Also