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
<WebBrowsableAttribute(False)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property SortByDirection As ContentByQueryWebPart.SortDirection
    Get
    Set
'Usage
Dim instance As ContentByQueryWebPart
Dim value As ContentByQueryWebPart.SortDirection

value = instance.SortByDirection

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