Click or drag to resize
IPageUrlDataContextExtractorTryExtract Method
Tries to extract the page URL data context from given data.

Namespace: CMS.DocumentEngine.Routing.Internal
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
bool TryExtract(
	Uri url,
	NormalizedUrlPath normalizedPath,
	bool isPreview,
	out PageUrlDataContext dataContext
)

Parameters

url
Type: SystemUri
URL to extract the data context from.
normalizedPath
Type: CMS.DocumentEngine.InternalNormalizedUrlPath
Normalized page URL path to extract the data context from.
isPreview
Type: SystemBoolean
Indicates if the data context is extracted for preview of the page.
dataContext
Type: CMS.DocumentEngine.InternalPageUrlDataContext
If successful, contains page URL data context extracted from given data.

Return Value

Type: Boolean
Returns true if the page URL data context is determined from the data.
See Also