Share via


TableOfContentsWebPart.SortWebsBy Property

Determines a sort order for the Web sites.

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

Syntax

'Declaration
<WebBrowsableAttribute(False)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property SortWebsBy As TableOfContentsWebPart.NavigationSortOption
    Get
    Set
'Usage
Dim instance As TableOfContentsWebPart
Dim value As TableOfContentsWebPart.NavigationSortOption

value = instance.SortWebsBy

instance.SortWebsBy = value
[WebBrowsableAttribute(false)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
public TableOfContentsWebPart.NavigationSortOption SortWebsBy { get; set; }

Property Value

Type: Microsoft.SharePoint.Publishing.WebControls.TableOfContentsWebPart.NavigationSortOption
The default value for this property is NavigationOrder.

Remarks

Web sites can be sorted by NavigationOrder, in which case the navigation determines the order, or they can be sorted manually by the NavigationSortOption enumeration.

See Also

Reference

TableOfContentsWebPart Class

TableOfContentsWebPart Members

Microsoft.SharePoint.Publishing.WebControls Namespace