Share via


TableOfContentsDataSourceView.SortWebsBy property

Gets or sets an enumeration value that specifies 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 TableOfContentsDataSourceView
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

TableOfContentsDataSourceView class

TableOfContentsDataSourceView members

Microsoft.SharePoint.Publishing.WebControls namespace