다음을 통해 공유


TableOfContentsWebPart.SortWebsBy Property

Gets or sets an enumeration value that specifies the sort order for the Web sites.

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

Syntax

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

value = instance.SortWebsBy

instance.SortWebsBy = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
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 TableOfContentsWebPart.NavigationSortOption enumeration.

See Also

Reference

TableOfContentsWebPart Class

TableOfContentsWebPart Members

Microsoft.SharePoint.Publishing.WebControls Namespace