Click or drag to resize
AlternativeUrlHelperGetMainDocument Method
Returns main document of given alternativeUrl.

Namespace: CMS.DocumentEngine.Internal
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax
C#
public static TreeNode GetMainDocument(
	AlternativeUrlInfo alternativeUrl
)

Parameters

alternativeUrl
Type: CMS.DocumentEngineAlternativeUrlInfo

Return Value

Type: TreeNode
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when alternativeUrl is null.
See Also