SPWeb.GetRecycleBinItems Method
Gets the recycle bin items that are based on the specified query.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Parameters
- query
- Type: Microsoft.SharePoint.SPRecycleBinQuery
The query for items in the recycle bin.
Return Value
Type: Microsoft.SharePoint.SPRecycleBinItemCollectionThe recycle bin items that match the query.