SPRecycleBinItemCollection Members
Include Protected Members
Include Inherited Members
Represents a collection of SPRecycleBinItem objects.
The SPRecycleBinItemCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
BinType | Gets the type of Recycle Bin. | |
Count | Gets the number of Recycle Bin items in the collection. (Overrides SPBaseCollection.Count.) | |
Item | Gets the Recycle Bin item at the specified index in the collection. | |
ItemCollectionPosition | Gets an object that is used to obtain the next set of rows in a paged view of the Recycle Bin. | |
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. | |
Site | Gets the parent site collection of the site-collection Recycle Bin. | |
UpgradedPersistedProperties | (Inherited from SPAutoSerializingObject.) | |
Web | Gets the parent Web site of the end-user Recycle Bin. |
Top
Methods
Name | Description | |
---|---|---|
Delete | Deletes the specified items from the Recycle Bin permanently. | |
DeleteAll | Deletes permanently all items from the Recycle Bin. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetEnumerator | Gets an enumerator to iterate through the collection. (Inherited from SPBaseCollection.) | |
GetHashCode | (Inherited from Object.) | |
GetItemById | Gets the Recycle Bin item with the specified ID from the collection. | |
GetObjectData | (Inherited from SPAutoSerializingObject.) | |
GetType | (Inherited from Object.) | |
GetTypedEnumerator<T> | Returns a type-safe enumerator to iterate through the collection. (Inherited from SPBaseCollection.) | |
MemberwiseClone | (Inherited from Object.) | |
MoveAllToSecondStage | Moves all items from the end-user Recycle Bin to the second stage of the site-collection Recycle Bin. | |
MoveToSecondStage([]) | Moves the specified items from the end-user Recycle Bin to the second stage of the site-collection Recycle Bin. | |
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. | |
OnDeserialization | (Inherited from SPAutoSerializingObject.) | |
Restore | Restores the specified Recycle Bin items to their original locations. | |
RestoreAll | Restores all the Recycle Bin items to their original locations. | |
ToString | (Inherited from Object.) | |
UpdateParent | (Inherited from SPAutoSerializingObject.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
ICollection.CopyTo | Copies the elements of the collection to an array, starting at the specified array index. (Inherited from SPBaseCollection.) | |
ICollection.IsSynchronized | Gets a Boolean value that indicates whether access to the collection is synchronized or thread-safe. (Inherited from SPBaseCollection.) | |
ICollection.SyncRoot | Gets an object that is used to synchronize access to the collection. (Inherited from SPBaseCollection.) |
Top