Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

SPRecycleBinItemCollection class

Represents a collection of SPRecycleBinItem objects.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[SubsetCallableTypeAttribute]
[ClientCallableTypeAttribute(Name = "RecycleBinItemCollection", ServerTypeId = "{9bfb60cf-1aca-484c-a845-5f2d4ef20865}", 
	CollectionIndexerMethodClientName = "GetById", CollectionChildItemType = typeof(SPRecycleBinItem), 
	SampleUrl = "{apiroot}/web/RecycleBin")]
public sealed class SPRecycleBinItemCollection : SPBaseCollection

To return an SPRecycleBinItemCollection object that represents the collection of items in the end-user (Web site) or site-collection Recycle Bin, use either the RecycleBin property of the SPWeb class, or the RecycleBin property of the SPSite class.

Use an indexer to return a single list item from the collection. For example, if the collection is assigned to a variable named myRecycleBinItems, use myRecycleBinItems[index] in C#, or myRecycleBinItems(index) in Visual Basic, where index is the index number of the item in the collection.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.