Share via


TableOfContentsWebPart.SortWebsByDirection Property

Determines a sort direction for the Web site sort order.

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

Syntax

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

value = instance.SortWebsByDirection

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

Property Value

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

Remarks

If you have selected a manual sort order in SortWebsBy, you can use this property to determine the direction of the sort. The default value is SortDirection.Asc.

See Also

Reference

TableOfContentsWebPart Class

TableOfContentsWebPart Members

Microsoft.SharePoint.Publishing.WebControls Namespace