Поделиться через


Свойство NavigationTerm.FriendlyUrlSegment

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

Пространство имен:  Microsoft.SharePoint.Publishing.Navigation
Сборка:  Microsoft.SharePoint.Publishing (в Microsoft.SharePoint.Publishing.dll)

Синтаксис

'Декларация
Public ReadOnly Property FriendlyUrlSegment As CustomizableString
    Get
'Применение
Dim instance As NavigationTerm
Dim value As CustomizableString

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

Значение свойства

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

Замечания

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.

См. также

Справочные материалы

NavigationTerm класс

Элементы NavigationTerm

Пространство имен Microsoft.SharePoint.Publishing.Navigation