This documentation is archived and is not being maintained.

SPSite.GetRecycleBinItems Method

Windows SharePoint Services 3

Returns a collection of recycle bin items based on the specified query.

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

public SPRecycleBinItemCollection GetRecycleBinItems(
	SPRecycleBinQuery query
)

Parameters

query
Type: Microsoft.SharePoint.SPRecycleBinQuery
An SPRecycleBinQuery object that represents a query on items in the recycle bin.

Return Value

Type: Microsoft.SharePoint.SPRecycleBinItemCollection
An SPRecycleBinItemCollection object that represents a collection of recycle bin items.
Show: