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.308
Syntax void OnBeforeRegionRootCopy(
IPage sourcecontentItem,
IPage targetcontentItem,
EnumCopyActions relation,
string targetLocale,
IUserWriteSession session
)
Sub OnBeforeRegionRootCopy (
sourcecontentItem As IPage,
targetcontentItem As IPage,
relation As EnumCopyActions,
targetLocale As String,
session As IUserWriteSession
)
void OnBeforeRegionRootCopy(
IPage^ sourcecontentItem,
IPage^ targetcontentItem,
EnumCopyActions relation,
String^ targetLocale,
IUserWriteSession^ session
)
abstract OnBeforeRegionRootCopy :
sourcecontentItem : IPage *
targetcontentItem : IPage *
relation : EnumCopyActions *
targetLocale : string *
session : IUserWriteSession -> unit
Parameters
- sourcecontentItem
- Type: Ingeniux.CMSIPage
Source Region Root being copied. - targetcontentItem
- Type: Ingeniux.CMSIPage
Target Region Root location, either parent or sibling to the new page. - relation
- Type: Ingeniux.CMS.EnumsEnumCopyActions
Contains information about what relation the new Region Root will have to the targetcontentItem. - targetLocale
- Type: SystemString
[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
- Type: Ingeniux.CMSIUserWriteSession
IUserWriteSession in which the Region Root is loaded in.
See Also