SPSite.RecycleBin property

Gets the collection of recycle bin items for the site collection.

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

Syntax

'Declaration
Public ReadOnly Property RecycleBin As SPRecycleBinItemCollection
    Get
'Usage
Dim instance As SPSite
Dim value As SPRecycleBinItemCollection

value = instance.RecycleBin
public SPRecycleBinItemCollection RecycleBin { get; }

Property value

Type: Microsoft.SharePoint.SPRecycleBinItemCollection
An SPRecycleBinItemCollection object that represents the recycle bin items.

See also

Reference

SPSite class

SPSite members

Microsoft.SharePoint namespace