Interface IFileVersionCollection
Collection of file versions
Assembly: PnP.Core.dll
Syntax
public interface IFileVersionCollection : IQueryable<IFileVersion>, IQueryable, IAsyncEnumerable<IFileVersion>, IDataModelCollection<IFileVersion>, IEnumerable<IFileVersion>, IEnumerable, IDataModelParent, IDataModelWithContext, IRequestableCollection, IDataModelCollectionLoad<IFileVersion>, ISupportModules<IFileVersionCollection>
Methods
Declaration
void DeleteAllBatch(Batch batch)
Parameters
|
Batch
batch
Batch to add the request to
|
Declaration
Task DeleteAllBatchAsync()
Returns
Declaration
Task DeleteAllBatchAsync(Batch batch)
Parameters
|
Batch
batch
Batch to add the request to
|
Returns
Declaration
Parameters
|
int
id
Id of the file version to Delete
|
Declaration
Task DeleteByIdAsync(int id)
Parameters
|
int
id
Id of the file version to Delete
|
Returns
Declaration
void DeleteByIdBatch(Batch batch, int id)
Parameters
|
Batch
batch
Batch to add the request to
|
|
int
id
Id of the file version to Delete
|
Declaration
void DeleteByIdBatch(int id)
Parameters
|
int
id
Id of the file version to Delete
|
Declaration
Task DeleteByIdBatchAsync(Batch batch, int id)
Parameters
|
Batch
batch
Batch to add the request to
|
|
int
id
Id of the file version to Delete
|
Returns
Declaration
Task DeleteByIdBatchAsync(int id)
Parameters
|
int
id
Id of the file version to Delete
|
Returns
Declaration
void DeleteByLabel(string label)
Parameters
|
string
label
Label of the file version to Delete
|
Declaration
Task DeleteByLabelAsync(string label)
Parameters
|
string
label
Label of the file version to Delete
|
Returns
Declaration
void DeleteByLabelBatch(Batch batch, string label)
Parameters
|
Batch
batch
Batch to add the request to
|
|
string
label
Label of the file version to Delete
|
Declaration
void DeleteByLabelBatch(string label)
Parameters
|
string
label
Label of the file version to Delete
|
Declaration
Task DeleteByLabelBatchAsync(Batch batch, string label)
Parameters
|
Batch
batch
Batch to add the request to
|
|
string
label
Label of the file version to Delete
|
Returns
Declaration
Task DeleteByLabelBatchAsync(string label)
Parameters
|
string
label
Label of the file version to Delete
|
Returns
Method to select a file version by Id
Declaration
IFileVersion GetById(int id, params Expression<Func<IFileVersion, object>>[] selectors)
Parameters
Returns
Method to select a file version by Id asynchronously
Declaration
Task<IFileVersion> GetByIdAsync(int id, params Expression<Func<IFileVersion, object>>[] selectors)
Parameters
Returns
Declaration
Parameters
|
int
id
Id of the file version to recycle
|
Declaration
Task RecycleByIdAsync(int id)
Parameters
|
int
id
Id of the file version to recycle
|
Returns
Declaration
void RecycleByIdBatch(Batch batch, int id)
Parameters
|
Batch
batch
Batch to add the request to
|
|
int
id
Id of the file version to recycle
|
Declaration
void RecycleByIdBatch(int id)
Parameters
|
int
id
Id of the file version to recycle
|
Declaration
Task RecycleByIdBatchAsync(Batch batch, int id)
Parameters
|
Batch
batch
Batch to add the request to
|
|
int
id
Id of the file version to recycle
|
Returns
Declaration
Task RecycleByIdBatchAsync(int id)
Parameters
|
int
id
Id of the file version to recycle
|
Returns
Declaration
void RecycleByLabel(string label)
Parameters
|
string
label
Label of the file version to recycle
|
Declaration
Task RecycleByLabelAsync(string label)
Parameters
|
string
label
Label of the file version to recycle
|
Returns
Declaration
void RecycleByLabelBatch(Batch batch, string label)
Parameters
|
Batch
batch
Batch to add the request to
|
|
string
label
Label of the file version to recycle
|
Declaration
void RecycleByLabelBatch(string label)
Parameters
|
string
label
Label of the file version to recycle
|
Declaration
Task RecycleByLabelBatchAsync(Batch batch, string label)
Parameters
|
Batch
batch
Batch to add the request to
|
|
string
label
Label of the file version to recycle
|
Returns
Declaration
Task RecycleByLabelBatchAsync(string label)
Parameters
|
string
label
Label of the file version to recycle
|
Returns
Declaration
void RestoreByLabel(string label)
Parameters
|
string
label
Label of the file version to restore
|
Declaration
Task RestoreByLabelAsync(string label)
Parameters
|
string
label
Label of the file version to restore
|
Returns
Declaration
void RestoreByLabelBatch(Batch batch, string label)
Parameters
|
Batch
batch
Batch to add the request to
|
|
string
label
Label of the file version to restore
|
Declaration
void RestoreByLabelBatch(string label)
Parameters
|
string
label
Label of the file version to restore
|
Declaration
Task RestoreByLabelBatchAsync(Batch batch, string label)
Parameters
|
Batch
batch
Batch to add the request to
|
|
string
label
Label of the file version to restore
|
Returns
Declaration
Task RestoreByLabelBatchAsync(string label)
Parameters
|
string
label
Label of the file version to restore
|
Returns
Extension Methods