SPWeb.GetRecycleBinItems Method

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

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

Syntax

Public Function GetRecycleBinItems ( _
    query As SPRecycleBinQuery _
) As SPRecycleBinItemCollection

Dim instance As SPWeb
Dim query As SPRecycleBinQuery
Dim returnValue As SPRecycleBinItemCollection

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

Parameters

Return Value

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

See Also

Reference

SPWeb Class

SPWeb Members

Microsoft.SharePoint Namespace