SPRecycleBinItemCollection members

Represents a collection of SPRecycleBinItem objects.

The SPRecycleBinItemCollection type exposes the following members.

  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 Web Gets the parent Web site of the end-user Recycle Bin.
Top

  Name Description
Public method Delete Deletes the specified items from the Recycle Bin permanently.
Public method DeleteAll Deletes permanentlyall 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 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.
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.)
Top

  Name Description
Explicit interface implemetation Private method ICollection.CopyTo Copies the elements of the collection to an array, starting at the specified array index. (Inherited from SPBaseCollection.)
Explicit interface implemetation Private property ICollection.IsSynchronized Gets a Boolean value that indicates whether access to the collection is synchronized or thread-safe. (Inherited from SPBaseCollection.)
Explicit interface implemetation Private property ICollection.SyncRoot Gets an object that is used to synchronize access to the collection. (Inherited from SPBaseCollection.)
Top
Show: