Sitecore 5.0 API

ItemPath.GetFriendlyUrl Method (Boolean)

Gets the friendly URL.

[Visual Basic]
Overloads Public Function GetFriendlyUrl( _
   ByVal shorten As Boolean _
) As String
[C#]
public string GetFriendlyUrl(
   bool shorten
);

Parameters

shorten
Shorten path.

Return Value

A friendly URL is a human-readable and easy to type path to the item. A friendly URL can by parsed by the system and the item retrieved. Friendly URLs always ends on ".aspx".

See Also

ItemPath Class | Sitecore.Data Namespace | ItemPath.GetFriendlyUrl Overload List