IReferencesManagerAddReference Method
|
Adds a new reference between two
Pages.
Namespace: Ingeniux.CMSAssembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntaxint 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 IPage
- The source page of the Reference
- targetPage IPage
- The target page of the Reference
Return Value
Int32Count of
References the source
Page has after the update.
RemarksIf 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