SPWeb.RecycleBin property

Gets the recycle bin of the website.

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

Syntax

'Declaration
Public ReadOnly Property RecycleBin As SPRecycleBinItemCollection
    Get
'Usage
Dim instance As SPWeb
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.

See also

Reference

SPWeb class

SPWeb members

Microsoft.SharePoint namespace