Share via


ContentByQueryWebPart.SortByDirection Property

Gets or sets the direction of the sort order for the list items.

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

Syntax

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

value = instance.SortByDirection

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

Property Value

Type: Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.SortDirection
The direction of the sort order for the list items.

See Also

Reference

ContentByQueryWebPart Class

ContentByQueryWebPart Members

Microsoft.SharePoint.Publishing.WebControls Namespace

ContentByQueryWebPart