SPRecycleBinItemCollection Methods

Include Protected Members
Include Inherited Members

The SPRecycleBinItemCollection type exposes the following members.

Methods

  Name Description
Public method Delete Deletes the specified items 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 GetEnumerator Gets an enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Public method GetHashCode (Inherited from Object.)
Public method GetItemById Gets the Recycle Bin item with the specified ID from the collection.
Public method GetObjectData (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
Public method GetTypedEnumerator<T> Returns a type-safe enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
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 specified items from the end-user Recycle Bin to the second stage of the site-collection Recycle Bin.
Public method MoveToSecondStage([], Boolean) Moves the items with the specified IDs from the end-user Recycle Bin to the second stage of the site-collection Recycle Bin, and optionally specifies whether to delete an item if it is too large for the second stage.
Protected method OnDeserialization (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 (Inherited from SPAutoSerializingObject.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICollection.CopyTo Copies the elements of the collection to an array, starting at the specified array index. (Inherited from SPBaseCollection.)

Top

See Also

Reference

SPRecycleBinItemCollection Class

Microsoft.SharePoint Namespace