Search Results for

    Show / Hide Table of Contents

    Interface IListItemVersionCollection

    Collection of file versions

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

    Methods

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

    Method to select a list item version by Id

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

    The Id to search for

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

    The expressions declaring the fields to select

    Returns
    IListItemVersion

    The resulting list item version instance, if any

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

    Method to select a list item version by Id asynchronously

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

    The Id to search for

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

    The expressions declaring the fields to select

    Returns
    Task<IListItemVersion>

    The resulting list item version instance, if any

    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