SPSite.GetRecycleBinItems method

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

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


Public Function GetRecycleBinItems ( _
    query As SPRecycleBinQuery _
) As SPRecycleBinItemCollection
Dim instance As SPSite
Dim query As SPRecycleBinQuery
Dim returnValue As SPRecycleBinItemCollection

returnValue = instance.GetRecycleBinItems(query)
public SPRecycleBinItemCollection GetRecycleBinItems(
    SPRecycleBinQuery query


Return value

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

See also


SPSite class

SPSite members

Microsoft.SharePoint namespace