Click or drag to resize
IAlternativeUrlsServiceGetMainDocumentData Method
Returns data of main document for given alternativeUrl. alternativeUrl is normalized and checked whether matches any excluded URLs and should not be processed.

Namespace: Kentico.Content.Web.Mvc.Routing
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
MainDocumentData GetMainDocumentData(
	string alternativeUrl
)

Parameters

alternativeUrl
Type: SystemString
Alternative URL for which main document data is retrieved.

Return Value

Type: MainDocumentData
Data of main document if such is found, otherwise null.
See Also