Interface IListItemVersionCollection
Collection of file versions
Assembly: PnP.Core.dll
Syntax
public interface IListItemVersionCollection : IDataModelCollection<IListItemVersion>, IDataModelParent, IDataModelWithContext, IRequestableCollection, IDataModelCollectionLoad<IListItemVersion>, ISupportModules<IListItemVersionCollection>
Methods
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
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
Extension Methods