Search Results for

    Show / Hide Table of Contents

    Interface IFileVersionCollection

    Collection of file versions

    Inherited Members
    IDataModelParent.Parent
    IDataModelWithContext.PnPContext
    IRequestableCollection.Requested
    IRequestableCollection.Length
    IRequestableCollection.RequestedItems
    IRequestableCollection.Clear()
    IDataModelCollectionLoad<IFileVersion>.LoadAsync(Expression<Func<IFileVersion, Object>>[])
    IDataModelCollectionLoad<IFileVersion>.LoadBatchAsync(Batch, Expression<Func<IFileVersion, Object>>[])
    Namespace: PnP.Core.Model.SharePoint
    Assembly: PnP.Core.dll
    Syntax
    public interface IFileVersionCollection : IDataModelCollection<IFileVersion>, IDataModelParent, IDataModelWithContext, IRequestableCollection, IDataModelCollectionLoad<IFileVersion>, ISupportModules<IFileVersionCollection>

    Methods

    DeleteAll()

    Delete all file versions

    Declaration
    void DeleteAll()

    DeleteAllAsync()

    Delete all file versions

    Declaration
    Task DeleteAllAsync()
    Returns
    Task

    DeleteAllBatch()

    Delete all file versions

    Declaration
    void DeleteAllBatch()

    DeleteAllBatch(Batch)

    Delete all file versions

    Declaration
    void DeleteAllBatch(Batch batch)
    Parameters
    Batch batch

    Batch to add the request to

    DeleteAllBatchAsync()

    Delete all file versions

    Declaration
    Task DeleteAllBatchAsync()
    Returns
    Task

    DeleteAllBatchAsync(Batch)

    Delete all file versions

    Declaration
    Task DeleteAllBatchAsync(Batch batch)
    Parameters
    Batch batch

    Batch to add the request to

    Returns
    Task

    DeleteById(Int32)

    Delete the file version

    Declaration
    void DeleteById(int id)
    Parameters
    System.Int32 id

    Id of the file version to Delete

    DeleteByIdAsync(Int32)

    Delete the file version

    Declaration
    Task DeleteByIdAsync(int id)
    Parameters
    System.Int32 id

    Id of the file version to Delete

    Returns
    Task

    DeleteByIdBatch(Batch, Int32)

    Delete the file version

    Declaration
    void DeleteByIdBatch(Batch batch, int id)
    Parameters
    Batch batch

    Batch to add the request to

    System.Int32 id

    Id of the file version to Delete

    DeleteByIdBatch(Int32)

    Delete the file version

    Declaration
    void DeleteByIdBatch(int id)
    Parameters
    System.Int32 id

    Id of the file version to Delete

    DeleteByIdBatchAsync(Batch, Int32)

    Delete the file version

    Declaration
    Task DeleteByIdBatchAsync(Batch batch, int id)
    Parameters
    Batch batch

    Batch to add the request to

    System.Int32 id

    Id of the file version to Delete

    Returns
    Task

    DeleteByIdBatchAsync(Int32)

    Delete the file version

    Declaration
    Task DeleteByIdBatchAsync(int id)
    Parameters
    System.Int32 id

    Id of the file version to Delete

    Returns
    Task

    DeleteByLabel(String)

    Delete the file version

    Declaration
    void DeleteByLabel(string label)
    Parameters
    System.String label

    Label of the file version to Delete

    DeleteByLabelAsync(String)

    Delete the file version

    Declaration
    Task DeleteByLabelAsync(string label)
    Parameters
    System.String label

    Label of the file version to Delete

    Returns
    Task

    DeleteByLabelBatch(Batch, String)

    Delete the file version

    Declaration
    void DeleteByLabelBatch(Batch batch, string label)
    Parameters
    Batch batch

    Batch to add the request to

    System.String label

    Label of the file version to Delete

    DeleteByLabelBatch(String)

    Delete the file version

    Declaration
    void DeleteByLabelBatch(string label)
    Parameters
    System.String label

    Label of the file version to Delete

    DeleteByLabelBatchAsync(Batch, String)

    Delete the file version

    Declaration
    Task DeleteByLabelBatchAsync(Batch batch, string label)
    Parameters
    Batch batch

    Batch to add the request to

    System.String label

    Label of the file version to Delete

    Returns
    Task

    DeleteByLabelBatchAsync(String)

    Delete the file version

    Declaration
    Task DeleteByLabelBatchAsync(string label)
    Parameters
    System.String label

    Label of the file version to Delete

    Returns
    Task

    GetById(Int32, Expression<Func<IFileVersion, Object>>[])

    Method to select a file version by Id

    Declaration
    IFileVersion GetById(int id, params Expression<Func<IFileVersion, object>>[] selectors)
    Parameters
    System.Int32 id

    The Id to search for

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

    The expressions declaring the fields to select

    Returns
    IFileVersion

    The resulting file version instance, if any

    GetByIdAsync(Int32, Expression<Func<IFileVersion, Object>>[])

    Method to select a file version by Id asynchronously

    Declaration
    Task<IFileVersion> GetByIdAsync(int id, params Expression<Func<IFileVersion, object>>[] selectors)
    Parameters
    System.Int32 id

    The Id to search for

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

    The expressions declaring the fields to select

    Returns
    Task<IFileVersion>

    The resulting file version instance, if any

    RecycleById(Int32)

    Recycle the file version

    Declaration
    void RecycleById(int id)
    Parameters
    System.Int32 id

    Id of the file version to recycle

    RecycleByIdAsync(Int32)

    Recycle the file version

    Declaration
    Task RecycleByIdAsync(int id)
    Parameters
    System.Int32 id

    Id of the file version to recycle

    Returns
    Task

    RecycleByIdBatch(Batch, Int32)

    Recycle the file version

    Declaration
    void RecycleByIdBatch(Batch batch, int id)
    Parameters
    Batch batch

    Batch to add the request to

    System.Int32 id

    Id of the file version to recycle

    RecycleByIdBatch(Int32)

    Recycle the file version

    Declaration
    void RecycleByIdBatch(int id)
    Parameters
    System.Int32 id

    Id of the file version to recycle

    RecycleByIdBatchAsync(Batch, Int32)

    Recycle the file version

    Declaration
    Task RecycleByIdBatchAsync(Batch batch, int id)
    Parameters
    Batch batch

    Batch to add the request to

    System.Int32 id

    Id of the file version to recycle

    Returns
    Task

    RecycleByIdBatchAsync(Int32)

    Recycle the file version

    Declaration
    Task RecycleByIdBatchAsync(int id)
    Parameters
    System.Int32 id

    Id of the file version to recycle

    Returns
    Task

    RecycleByLabel(String)

    Recycle the file version

    Declaration
    void RecycleByLabel(string label)
    Parameters
    System.String label

    Label of the file version to recycle

    RecycleByLabelAsync(String)

    Recycle the file version

    Declaration
    Task RecycleByLabelAsync(string label)
    Parameters
    System.String label

    Label of the file version to recycle

    Returns
    Task

    RecycleByLabelBatch(Batch, String)

    Recycle the file version

    Declaration
    void RecycleByLabelBatch(Batch batch, string label)
    Parameters
    Batch batch

    Batch to add the request to

    System.String label

    Label of the file version to recycle

    RecycleByLabelBatch(String)

    Recycle the file version

    Declaration
    void RecycleByLabelBatch(string label)
    Parameters
    System.String label

    Label of the file version to recycle

    RecycleByLabelBatchAsync(Batch, String)

    Recycle the file version

    Declaration
    Task RecycleByLabelBatchAsync(Batch batch, string label)
    Parameters
    Batch batch

    Batch to add the request to

    System.String label

    Label of the file version to recycle

    Returns
    Task

    RecycleByLabelBatchAsync(String)

    Recycle the file version

    Declaration
    Task RecycleByLabelBatchAsync(string label)
    Parameters
    System.String label

    Label of the file version to recycle

    Returns
    Task

    RestoreByLabel(String)

    Restore the file version

    Declaration
    void RestoreByLabel(string label)
    Parameters
    System.String label

    Label of the file version to restore

    RestoreByLabelAsync(String)

    Restore the file version

    Declaration
    Task RestoreByLabelAsync(string label)
    Parameters
    System.String label

    Label of the file version to restore

    Returns
    Task

    RestoreByLabelBatch(Batch, String)

    Restore the file version

    Declaration
    void RestoreByLabelBatch(Batch batch, string label)
    Parameters
    Batch batch

    Batch to add the request to

    System.String label

    Label of the file version to restore

    RestoreByLabelBatch(String)

    Restore the file version

    Declaration
    void RestoreByLabelBatch(string label)
    Parameters
    System.String label

    Label of the file version to restore

    RestoreByLabelBatchAsync(Batch, String)

    Restore the file version

    Declaration
    Task RestoreByLabelBatchAsync(Batch batch, string label)
    Parameters
    Batch batch

    Batch to add the request to

    System.String label

    Label of the file version to restore

    Returns
    Task

    RestoreByLabelBatchAsync(String)

    Restore the file version

    Declaration
    Task RestoreByLabelBatchAsync(string label)
    Parameters
    System.String label

    Label of the file version to restore

    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