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 | Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.) | |
Web | Gets the parent Web site of the end-user Recycle Bin. |
Top
Methods
Name | Description | |
---|---|---|
Delete | Deletes the specified item from the Recycle Bin permanently. | |
DeleteAll | Deletes permanently all items from the Recycle Bin. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetItemById | Returns the Recycle Bin item with the specified ID from the collection. | |
GetObjectData | Retrieves the data required to serialize the object. (Inherited from SPAutoSerializingObject.) | |
GetType | (Inherited from Object.) | |
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 item from the end-user Recycle Bin to the second stage of the site-collection Recycle Bin based on the specified IDs. | |
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. | |
OnDeserialization | Called after the object has been deserialized from the file system cache or the database. (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 | Causes the containing SPPersistedObject, if one exists, to update its state. (Inherited from SPAutoSerializingObject.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
ICollection.CopyTo | (Inherited from SPBaseCollection.) | |
IEnumerable.GetEnumerator | (Inherited from SPBaseCollection.) | |
ICollection.IsSynchronized | (Inherited from SPBaseCollection.) | |
ICollection.SyncRoot | (Inherited from SPBaseCollection.) |
Top