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)

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