Share via


SPRecycleBinQuery.OrderBy Property

Gets or sets the column by which to order the Recycle Bin query.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Property OrderBy As SPRecycleBinOrderBy
    Get
    Set
'Usage
Dim instance As SPRecycleBinQuery
Dim value As SPRecycleBinOrderBy

value = instance.OrderBy

instance.OrderBy = value
public SPRecycleBinOrderBy OrderBy { get; set; }

Property Value

Type: Microsoft.SharePoint.SPRecycleBinOrderBy
An SPRecycleBinOrderBy value that specifies the column by which to order the query.

See Also

Reference

SPRecycleBinQuery Class

SPRecycleBinQuery Members

Microsoft.SharePoint Namespace