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.RoutingAssembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax MainDocumentData GetMainDocumentData(
string alternativeUrl
)
Parameters
- alternativeUrl
- Type: SystemString
Alternative URL for which main document data is retrieved.
Return Value
Type:
MainDocumentDataData of main document if such is found, otherwise
null.
See Also