AlternativeUrlHelperIsInCollision Method |
Returns true, if page is in conflict with alternative URL represented by alternativeUrlSegments.
Namespace: CMS.DocumentEngine.InternalAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntaxprotected bool IsInCollision(
TreeNode page,
string[] alternativeUrlSegments
)
Parameters
- page
- Type: CMS.DocumentEngineTreeNode
Page to be checked if it is in conflict with given alternative URL. - alternativeUrlSegments
- Type: SystemString
Represents alternative URL to be checked against the page.
AlternativeUrlUrl is split into segments e.g. alternative URL 'short/example/url' is split into ["short","example","url"].
Return Value
Type:
Boolean
See Also