DocumentURLProviderTryUnresolveUrl Method |
Tries to unresolve the URL to virtual path by searching for all possible presentation URLs for given site.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax 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:
BooleanTrue in case the URL is successfully unresolved.
See Also