SPRecycleBinItemCollection Members

Include Protected Members
Include Inherited Members

Represents a collection of SPRecycleBinItem objects.

The SPRecycleBinItemCollection type exposes the following members.

Properties

  Name Description
Public property BinType Gets the type of Recycle Bin.
Public property Count Gets the number of Recycle Bin items in the collection. (Overrides SPBaseCollection.Count.)
Public property Item Gets the Recycle Bin item at the specified index in the collection.
Public property ItemCollectionPosition Gets an object that is used to obtain the next set of rows in a paged view of the Recycle Bin.
Public property LastProcessedId Used in bulk processing functions for deleting, restoring, or moving recycle bin items to get the GUID of the last recycle bin item that has been processed.
Public property Site Gets the parent site collection of the site-collection Recycle Bin.
Public property UpgradedPersistedProperties Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.)
Public property Web Gets the parent Web site of the end-user Recycle Bin.

Top

Methods

  Name Description
Public method Delete Deletes the specified item from the Recycle Bin permanently.
Public method DeleteAll Deletes permanently all items from the Recycle Bin.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetItemById Returns the Recycle Bin item with the specified ID from the collection.
Public method GetObjectData Retrieves the data required to serialize the object. (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method MoveAllToSecondStage Moves all items from the end-user Recycle Bin to the second stage of the site-collection Recycle Bin.
Public method MoveToSecondStage([]) Moves the item from the end-user Recycle Bin to the second stage of the site-collection Recycle Bin based on the specified IDs.
Public method MoveToSecondStage([], Boolean) Moves the item from the end-user Recycle Bin to the second stage of the site-collection Recycle Bin based on the specified IDs, and on a Boolean value that specifies whether to delete an item if it is too large for the second stage.
Protected method OnDeserialization Called after the object has been deserialized from the file system cache or the database. (Inherited from SPAutoSerializingObject.)
Public method Restore Restores the specified Recycle Bin items to their original locations.
Public method RestoreAll Restores all the Recycle Bin items to their original locations.
Public method ToString (Inherited from Object.)
Protected method UpdateParent Causes the containing SPPersistedObject, if one exists, to update its state. (Inherited from SPAutoSerializingObject.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICollection.CopyTo (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.IsSynchronized (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.SyncRoot (Inherited from SPBaseCollection.)

Top

See Also

Reference

SPRecycleBinItemCollection Class

Microsoft.SharePoint Namespace