TaxonomyNavigationContext.RewrittenCatalogUrlSegments property

Gets catalog friendly URL segments that were assigned as part of a URL rewriting operation for a catalog-friendly URL.

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

Syntax

'Declaration
Public ReadOnly Property RewrittenCatalogUrlSegments As IList(Of String)
    Get
'Usage
Dim instance As TaxonomyNavigationContext
Dim value As IList(Of String)

value = instance.RewrittenCatalogUrlSegments
public IList<string> RewrittenCatalogUrlSegments { get; }

Property value

Type: System.Collections.Generic.IList<String>

Remarks

This property returns catalog-friendly URL segments that were assigned as part of a URL rewriting operation for a catalog-friendly URL. If the context was specified some other way—such as with the SetNavigationTerm(NavigationTerm, []) method, then this list will be empty, even though the CatalogUrlSegments property may not be empty.

This property is intended for advanced scenarios. When in doubt, use the CatalogUrlSegments property instead.

See also

Reference

TaxonomyNavigationContext class

TaxonomyNavigationContext members

Microsoft.SharePoint.Publishing.Navigation namespace