IReferencesManagerAddReference Method
|
Adds a new reference between two
Pages.
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax int AddReference(
IPage sourcePage,
IPage targetPage
)
Function AddReference (
sourcePage As IPage,
targetPage As IPage
) As Integer
int AddReference(
IPage^ sourcePage,
IPage^ targetPage
)
abstract AddReference :
sourcePage : IPage *
targetPage : IPage -> int
Parameters
- sourcePage
- Type: Ingeniux.CMSIPage
The source page of the Reference - targetPage
- Type: Ingeniux.CMSIPage
The target page of the Reference
Return Value
Type:
Int32Count of
References the source
Page has after the update.
Remarks If either the sourcePage or targetPage parameter value is null, returns 0 without doing anything.
The actual references are stored on the Source Page itself. No additional entities are created.
This method will make the Target Page have a cross reference to the Source Page.
See Also