Search Results for

    Show / Hide Table of Contents

    Interface IRecycleBinItemCollection

    Public interface to define a collection of RecycleBinItem objects

    Inherited Members
    IDataModelParent.Parent
    IDataModelWithContext.PnPContext
    IRequestableCollection.Requested
    IRequestableCollection.Length
    IRequestableCollection.RequestedItems
    IRequestableCollection.Clear()
    IDataModelCollectionLoad<IRecycleBinItem>.LoadAsync(Expression<Func<IRecycleBinItem, Object>>[])
    IDataModelCollectionLoad<IRecycleBinItem>.LoadBatchAsync(Batch, Expression<Func<IRecycleBinItem, Object>>[])
    IDataModelCollectionDeleteByGuidId.DeleteById(Guid)
    IDataModelCollectionDeleteByGuidId.DeleteByIdAsync(Guid)
    IDataModelCollectionDeleteByGuidId.DeleteByIdBatch(Guid)
    IDataModelCollectionDeleteByGuidId.DeleteByIdBatchAsync(Guid)
    IDataModelCollectionDeleteByGuidId.DeleteByIdBatch(Batch, Guid)
    IDataModelCollectionDeleteByGuidId.DeleteByIdBatchAsync(Batch, Guid)
    Namespace: PnP.Core.Model.SharePoint
    Assembly: PnP.Core.dll
    Syntax
    public interface IRecycleBinItemCollection : IDataModelCollection<IRecycleBinItem>, IDataModelParent, IDataModelWithContext, IRequestableCollection, IDataModelCollectionLoad<IRecycleBinItem>, IDataModelCollectionDeleteByGuidId, ISupportModules<IRecycleBinItemCollection>

    Methods

    DeleteAll()

    Permanently deletes all Recycle Bin items.

    Declaration
    void DeleteAll()

    DeleteAllAsync()

    Permanently deletes all Recycle Bin items.

    Declaration
    Task DeleteAllAsync()
    Returns
    Task

    DeleteAllBatch()

    Permanently deletes all Recycle Bin items using the current context batch instance.

    Declaration
    void DeleteAllBatch()

    DeleteAllBatch(Batch)

    Permanently deletes all Recycle Bin items using a specific batch instance.

    Declaration
    void DeleteAllBatch(Batch batch)
    Parameters
    Batch batch

    DeleteAllBatchAsync()

    Permanently deletes all Recycle Bin items using the current context batch instance.

    Declaration
    Task DeleteAllBatchAsync()
    Returns
    Task

    DeleteAllBatchAsync(Batch)

    Permanently deletes all Recycle Bin items using a specific batch instance.

    Declaration
    Task DeleteAllBatchAsync(Batch batch)
    Parameters
    Batch batch

    Returns
    Task

    DeleteAllSecondStageItems()

    Permanently deletes second stage Recycle Bin items.

    Declaration
    void DeleteAllSecondStageItems()

    DeleteAllSecondStageItemsAsync()

    Permanently deletes second stage Recycle Bin items.

    Declaration
    Task DeleteAllSecondStageItemsAsync()
    Returns
    Task

    DeleteAllSecondStageItemsBatch()

    Permanently deletes all Recycle Bin items using the current context batch instance.

    Declaration
    void DeleteAllSecondStageItemsBatch()

    DeleteAllSecondStageItemsBatch(Batch)

    Permanently deletes second stage Recycle Bin items using a specific batch instance.

    Declaration
    void DeleteAllSecondStageItemsBatch(Batch batch)
    Parameters
    Batch batch

    DeleteAllSecondStageItemsBatchAsync()

    Permanently deletes second stage Recycle Bin items using the current context batch instance.

    Declaration
    Task DeleteAllSecondStageItemsBatchAsync()
    Returns
    Task

    DeleteAllSecondStageItemsBatchAsync(Batch)

    Permanently deletes second stage Recycle Bin items using a specific batch instance.

    Declaration
    Task DeleteAllSecondStageItemsBatchAsync(Batch batch)
    Parameters
    Batch batch

    Returns
    Task

    GetById(Guid, Expression<Func<IRecycleBinItem, Object>>[])

    Method to select a recycle bin item (IRecycleBinItem) by id

    Declaration
    IRecycleBinItem GetById(Guid id, params Expression<Func<IRecycleBinItem, object>>[] selectors)
    Parameters
    Guid id

    The Id to search for

    Expression<Func<IRecycleBinItem, System.Object>>[] selectors

    The expressions declaring the fields to select

    Returns
    IRecycleBinItem

    The resulting recycle bin item instance, if any

    GetByIdAsync(Guid, Expression<Func<IRecycleBinItem, Object>>[])

    Method to select a recycle bin item (IRecycleBinItem) by id asynchronously

    Declaration
    Task<IRecycleBinItem> GetByIdAsync(Guid id, params Expression<Func<IRecycleBinItem, object>>[] selectors)
    Parameters
    Guid id

    The Id to search for

    Expression<Func<IRecycleBinItem, System.Object>>[] selectors

    The expressions declaring the fields to select

    Returns
    Task<IRecycleBinItem>

    The resulting recycle bin item instance, if any

    MoveAllToSecondStage()

    Move all Recycle Bin items to second stage.

    Declaration
    void MoveAllToSecondStage()

    MoveAllToSecondStageAsync()

    Move all Recycle Bin items to second stage.

    Declaration
    Task MoveAllToSecondStageAsync()
    Returns
    Task

    MoveAllToSecondStageBatch()

    Move all Recycle Bin items to second stage using the current context batch instance.

    Declaration
    void MoveAllToSecondStageBatch()

    MoveAllToSecondStageBatch(Batch)

    Move all Recycle Bin items to second stage using a specific batch instance.

    Declaration
    void MoveAllToSecondStageBatch(Batch batch)
    Parameters
    Batch batch

    MoveAllToSecondStageBatchAsync()

    Move all Recycle Bin items to second stage using the current context batch instance.

    Declaration
    Task MoveAllToSecondStageBatchAsync()
    Returns
    Task

    MoveAllToSecondStageBatchAsync(Batch)

    Move all Recycle Bin items to second stage using a specific batch instance.

    Declaration
    Task MoveAllToSecondStageBatchAsync(Batch batch)
    Parameters
    Batch batch

    Returns
    Task

    RestoreAll()

    Restores all Recycle Bin items to their original locations.

    Declaration
    void RestoreAll()

    RestoreAllAsync()

    Restores all Recycle Bin items to their original locations.

    Declaration
    Task RestoreAllAsync()
    Returns
    Task

    RestoreAllBatch()

    Restores all Recycle Bin items to their original locations using the current context batch instance.

    Declaration
    void RestoreAllBatch()

    RestoreAllBatch(Batch)

    Restores all Recycle Bin items to their original locations using a specific batch instance.

    Declaration
    void RestoreAllBatch(Batch batch)
    Parameters
    Batch batch

    RestoreAllBatchAsync()

    Restores all Recycle Bin items to their original locations using the current context batch instance.

    Declaration
    Task RestoreAllBatchAsync()
    Returns
    Task

    RestoreAllBatchAsync(Batch)

    Restores all Recycle Bin items to their original locations using a specific batch instance.

    Declaration
    Task RestoreAllBatchAsync(Batch batch)
    Parameters
    Batch batch

    Returns
    Task

    Extension Methods

    DataModelCollectionLoadExtensions.LoadBatchAsync<TModel>(IDataModelCollectionLoad<TModel>, Expression<Func<TModel, Object>>[])
    DataModelCollectionLoadExtensions.LoadBatchAsync<TModel>(IDataModelCollectionLoad<TModel>, Batch, Expression<Func<TModel, Object>>[])
    DataModelCollectionLoadExtensions.LoadBatch<TModel>(IDataModelCollectionLoad<TModel>, Batch, Expression<Func<TModel, Object>>[])
    DataModelCollectionLoadExtensions.LoadBatch<TModel>(IDataModelCollectionLoad<TModel>, Expression<Func<TModel, Object>>[])
    DataModelCollectionLoadExtensions.Load<TModel>(IDataModelCollectionLoad<TModel>, Expression<Func<TModel, Object>>[])
    RequestModuleExtensions.WithHeaders<TModel>(ISupportModules<TModel>, Dictionary<String, String>, Action<Dictionary<String, String>>)
    RequestModuleExtensions.WithResponseHeaders<TModel>(ISupportModules<TModel>, Action<Dictionary<String, String>>)
    QueryableExtensions.AsRequested<TSource>(IDataModelCollection<TSource>)
    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer