Interface IRecycleBinItem
Public interface to define a RecycleBinItem object
Assembly: PnP.Core.dll
Syntax
public interface IRecycleBinItem : IDataModel<IRecycleBinItem>, IDataModelParent, IDataModelWithContext, ISupportModules<IRecycleBinItem>, IDataModelGet<IRecycleBinItem>, IDataModelLoad<IRecycleBinItem>, IDataModelUpdate, IDataModelDelete, IQueryableDataModel
Properties
A special property used to add an asterisk to a $select statement
Declaration
Property Value
Gets a value that specifies the user who created the Recycle Bin item.
Declaration
ISharePointUser Author { get; }
Property Value
Gets the e-mail address of the user who created the recycle bin item.
Declaration
string AuthorEmail { get; }
Property Value
Gets the name of the user who created the recycle bin item.
Declaration
string AuthorName { get; }
Property Value
Gets a value that specifies the user who deleted the Recycle Bin item.
Declaration
ISharePointUser DeletedBy { get; }
Property Value
Gets the e-mail address of the user who deleted the recycle bin item.
Declaration
string DeletedByEmail { get; }
Property Value
Gets the name of the user who deleted the recycle bin item.
Declaration
string DeletedByName { get; }
Property Value
Gets a value that specifies when the Recycle Bin item was moved to the Recycle Bin.
Declaration
DateTime DeletedDate { get; }
Property Value
Gets a value that specifies the site relative URL of the list or folder that originally contained the Recycle Bin item.
Declaration
Property Value
Gets a value that specifies the identifier of the Recycle Bin item.
Declaration
Property Value
Gets a value that specifies the Recycle Bin stage of the Recycle Bin item.
Declaration
RecycleBinItemState ItemState { get; }
Property Value
Gets a value that specifies the type of the Recycle Bin item.
Declaration
RecycleBinItemType ItemType { get; }
Property Value
Gets a value that specifies the leaf name of the Recycle Bin item.
Declaration
Property Value
Gets a value that specifies the size of the Recycle Bin item in bytes.
Declaration
Property Value
Gets a value that specifies the title of the Recycle Bin item.
Declaration
Property Value
Methods
Move the recycle bin item to the second stage recycle bin
Declaration
Move the recycle bin item to the second stage recycle bin
Declaration
Task MoveToSecondStageAsync()
Returns
Move the recycle bin item to the second stage recycle bin using the current context batch instance
Declaration
void MoveToSecondStageBatch()
Move the recycle bin item to the second stage recycle bin using a specific batch instance
The batch instance to use.
Declaration
void MoveToSecondStageBatch(Batch batch)
Parameters
Move the recycle bin item to the second stage recycle bin using the current context batch instance
Declaration
Task MoveToSecondStageBatchAsync()
Returns
Move the recycle bin item to the second stage recycle bin using a specific batch instance
The batch instance to use.
Declaration
Task MoveToSecondStageBatchAsync(Batch batch)
Parameters
Returns
Restores the recycle bin item to its original location.
Declaration
Restores the recycle bin item to its original location.
Declaration
Returns
Restores the recycle bin item to its original location using the current context batch instance
Declaration
Restores the recycle bin item to its original location using a specific batch instance
The batch instance to use.
Declaration
void RestoreBatch(Batch batch)
Parameters
Restores the recycle bin item to its original location using the current context batch instance
Declaration
Returns
Restores the recycle bin item to its original location using a specific batch instance
The batch instance to use.
Declaration
Task RestoreBatchAsync(Batch batch)
Parameters
Returns
Extension Methods