SPSite.RecycleBin Property

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

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property RecycleBin As SPRecycleBinItemCollection
    Get
'Usage
Dim instance As SPSite
Dim value As SPRecycleBinItemCollection

value = instance.RecycleBin
[ClientCallableAttribute]
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