IPageHooksOnBeforePasteSpecial Method
|
Custom hook that fires before a copied
Page is pasted.
Namespace:
Ingeniux.CMS.Models.Hooks
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax void OnBeforePasteSpecial(
IPage sourcecontentItem,
IPage targetcontentItem,
EnumCopyActions relation,
IUserWriteSession session
)
Sub OnBeforePasteSpecial (
sourcecontentItem As IPage,
targetcontentItem As IPage,
relation As EnumCopyActions,
session As IUserWriteSession
)
void OnBeforePasteSpecial(
IPage^ sourcecontentItem,
IPage^ targetcontentItem,
EnumCopyActions relation,
IUserWriteSession^ session
)
abstract OnBeforePasteSpecial :
sourcecontentItem : IPage *
targetcontentItem : IPage *
relation : EnumCopyActions *
session : IUserWriteSession -> unit
Parameters
- sourcecontentItem
- Type: Ingeniux.CMSIPage
Source Page being copied. - targetcontentItem
- Type: Ingeniux.CMSIPage
Target Page location, either parent or sibling to the new page. - relation
- Type: Ingeniux.CMS.EnumsEnumCopyActions
Contains information about what relation the new Page will have to the targetcontentItem. - session
- Type: Ingeniux.CMSIUserWriteSession
IUserWriteSession in which the Page is loaded in.
Remarks This hook is not invoked by CSAPI, but by the middle tier, since it was a hack from ActiveX client era.
See Also