Share via


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

Public ReadOnly Property RecycleBin As SPRecycleBinItemCollection
    Get

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