Click or drag to resize
DocumentURLProviderTryUnresolveUrl Method
Tries to unresolve the URL to virtual path by searching for all possible presentation URLs for given site.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
public static bool TryUnresolveUrl(
	string url,
	SiteInfoIdentifier siteIdentifier,
	out string virtualPath
)

Parameters

url
Type: SystemString
Absolute URL.
siteIdentifier
Type: CMS.DataEngineSiteInfoIdentifier
Site identifier.
virtualPath
Type: SystemString
Virtual path (starting with '~/') in case the URL was successfully unresolved.

Return Value

Type: Boolean
True in case the URL is successfully unresolved.
See Also