Contains various support functionality for dealing with URIs.

Namespace:  EPiServer
Assembly:  EPiServer (in EPiServer.dll) Version: 6.0.530.0

Syntax

C#
public class UriSupport

Remarks

See the UriSupport class methods which contain further information.

Examples

See the examples below:

Resolves the path relative the UI directory

CopyC#
UriSupport.ResolveUrlFromUtilBySettings("javascript/episerverscriptmanager.js");

link a page to another language than the current language

CopyC#
PageData languageBranch = new PageData(CurrentPage);            
EPiServer.UriSupport.AddLanguageSelection(pd.LinkURL, pd.LanguageID);

link a page to another language than the current language

CopyC#
// link a page to another language than the current language
String NavigateUrl = EPiServer.UriSupport.AddLanguageSelection(languageBranch.LinkURL, languageBranch.LanguageID);

Inheritance Hierarchy

System..::.Object
  EPiServer..::.UriSupport

See Also