Share via


SPRecycleBinItem members

Represents an item in the Recycle Bin for a Web site or a site collection.

The SPRecycleBinItem type exposes the following members.

Properties

  Name Description
Public property Author Gets the user who originally created the item.
Public property AuthorEmail Gets the e-mail address of the user who originally created the item.
Public property AuthorId Gets the SharePoint Foundation user ID of the user who originally created the item.
Public property AuthorName Gets the display name of the user who originally created the item.
Public property DeletedBy Gets the user who deleted the item.
Public property DeletedByEmail Gets the e-mail address of the user who deleted the item.
Public property DeletedById Gets the ID of the user who deleted the item.
Public property DeletedByName Gets the display name of the user who deleted the item.
Public property DeletedDate Gets the date and time that the item was deleted.
Public property DirName Gets the Web site–relative URL of the list or folder that originally contained the item.
Public property ID Gets the GUID of the item.
Public property ImageUrl Gets the server-relative URL to the icon of the item.
Public property ItemState Gets the Rrecycle Bin stage of the item.
Public property ItemType Gets the type of the Recycle Bin item.
Public property LeafName Gets the leaf name of the item.
Public property ProgId Gets the program identifier (ID) for the item.
Public property Size Gets the size of the item in bytes.
Public property Title Gets the title of the item.
Public property Web Gets the Web site from which the item was deleted.

Top

Methods

  Name Description
Public method Delete Permanently deletes the item from the Recycle Bin.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method MoveToSecondStage Moves the item from the end-user Recycle Bin to the second-stage Recycle Bin of the site collection.
Public method Restore Restores the item to its original location.
Public method ToString (Inherited from Object.)

Top

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate method IComparable.CompareTo Compares the current Recycle Bin item with another Recycle Bin item.

Top

See also

Reference

SPRecycleBinItem class

Microsoft.SharePoint namespace