Share via


NavigationTerm.GetWebRelativeFriendlyUrl method

Returns the friendly URL segments as a concatenated path.

Namespace:  Microsoft.SharePoint.Client.Publishing.Navigation
Assembly:  Microsoft.SharePoint.Client.Publishing (in Microsoft.SharePoint.Client.Publishing.dll)

Syntax

'Declaration
Public Overridable Function GetWebRelativeFriendlyUrl As ClientResult(Of String)
'Usage
Dim instance As NavigationTerm
Dim returnValue As ClientResult(Of String)

returnValue = instance.GetWebRelativeFriendlyUrl()
public virtual ClientResult<string> GetWebRelativeFriendlyUrl()

Return value

Type: Microsoft.SharePoint.Client.ClientResult<String>
A URL path that begins with a / character, or else an empty string.

Remarks

This method returns only the web-relative portion of the friendly URL prefixed by a leading slash. To obtain the complete server-relative URL, use the GetResolvedDisplayUrl(String) instead.

See also

Reference

NavigationTerm class

NavigationTerm members

Microsoft.SharePoint.Client.Publishing.Navigation namespace