Share via


TableOfContentsDataSource.SortWebsBy property

Gets and sets a sort order for the sites.

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

Syntax

'Declaration
Public Property SortWebsBy As TableOfContentsWebPart.NavigationSortOption
    Get
    Set
'Usage
Dim instance As TableOfContentsDataSource
Dim value As TableOfContentsWebPart.NavigationSortOption

value = instance.SortWebsBy

instance.SortWebsBy = value
public TableOfContentsWebPart.NavigationSortOption SortWebsBy { get; set; }

Property value

Type: Microsoft.SharePoint.Publishing.WebControls.TableOfContentsWebPart.NavigationSortOption

See also

Reference

TableOfContentsDataSource class

TableOfContentsDataSource members

Microsoft.SharePoint.Publishing.WebControls namespace