DocumentAddressProvider.ToDocumentUrl Method
- Namespace
- Kampute.DocToolkit.Routing
- Assembly
- Kampute.DocToolkit.dll
Definition
Creates an absolute or document-relative URL from a site-relative URL string.
protected Uri ToDocumentUrl(string siteRelativeUrl)Parameters
siteRelativeUrlstring- The site-relative URL string to create an absolute or document-relative URL from.
Returns
- Uri
- A URL that correctly navigates from the current document's location to the target.
