Share via


NavigationTerm.FriendlyUrlSegment property

Gets a custom friendly URL segment for the node that is represented by the NavigationTerm object.

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

Syntax

'Declaration
Public ReadOnly Property FriendlyUrlSegment As CustomizableString
    Get
'Usage
Dim instance As NavigationTerm
Dim value As CustomizableString

value = instance.FriendlyUrlSegment
public CustomizableString FriendlyUrlSegment { get; }

Property value

Type: Microsoft.SharePoint.Publishing.CustomizableString
A custom friendly URL segment for the node that is represented by the NavigationTerm object.

Remarks

This property is a CustomizableString object. The default value is generated from the TaxonomyName property by an algorithm that removes reserved characters (as described in RFC3986) and other characters that are undesirable for Search Engine Optimization (SEO) purposes.

This property is used with both the SimpleLinkType() and the FriendlyUrl. For a simple link node, this property is used indirectly to specify URLs for child nodes of type FriendlyUrl.

See also

Reference

NavigationTerm class

NavigationTerm members

Microsoft.SharePoint.Publishing.Navigation namespace