Click or drag to resize
AlternativeUrlHelperFindConflictingPage Method
Returns a page that is in conflict with AlternativeUrlInfo represented by alternativeUrlSegments.

Namespace: CMS.DocumentEngine.Internal
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax
C#
protected virtual TreeNode FindConflictingPage(
	DocumentQuery documentQuery,
	string[] alternativeUrlSegments
)

Parameters

documentQuery
Type: CMS.DocumentEngineDocumentQuery
Document query used for retrieving pages that might be in conflict with AlternativeUrlInfo represented by alternativeUrlSegments.
alternativeUrlSegments
Type: SystemString
Represents alternative URL to be checked against the pages. AlternativeUrlUrl is split into segments e.g. alternative URL 'short/example/url' is split into ["short","example","url"].

Return Value

Type: TreeNode
Returns a page that s in conflict with alternative URL, otherwise returns null.
See Also