Click or drag to resize

IReferencesManagerRemoveReference Method (IPage, String)


Removes a Reference between two Pages.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
bool RemoveReference(
	IPage sourcePage,
	string targetPageId
)

Parameters

sourcePage
Type: Ingeniux.CMSIPage
The source page of the reference
targetPageId
Type: SystemString
The ID of the target reference's target page

Return Value

Type: Boolean
True if reference exists, false otherwise.
Remarks

If the sourcePage parameter value is null or the targetPageId value is null or empty, this method returns false.

See Also