Table of Contents

Interface IViewCollection

Namespace
PnP.Core.Model.SharePoint
Assembly
PnP.Core.dll

Public interface to define a collection of View objects

public interface IViewCollection : IQueryable<IView>, IQueryable, IAsyncEnumerable<IView>, IDataModelCollection<IView>, IEnumerable<IView>, IEnumerable, IDataModelParent, IDataModelWithContext, IRequestableCollection, IDataModelCollectionLoad<IView>, IDataModelCollectionDeleteByGuidId, ISupportModules<IViewCollection>
Inherited Members
Extension Methods

Methods

Add(ViewOptions)

Adds a new view

IView Add(ViewOptions viewOptions)

Parameters

viewOptions ViewOptions

View options

Returns

IView

View

AddAsync(ViewOptions)

Asynchronously adds a new view

Task<IView> AddAsync(ViewOptions viewOptions)

Parameters

viewOptions ViewOptions

View options

Returns

Task<IView>

View

AddBatch(ViewOptions)

Add a view part of a batch

IView AddBatch(ViewOptions viewOptions)

Parameters

viewOptions ViewOptions

View options

Returns

IView

View

AddBatch(Batch, ViewOptions)

Add a view part of a specific batch asynchroniously

IView AddBatch(Batch batch, ViewOptions viewOptions)

Parameters

batch Batch

Batch to use

viewOptions ViewOptions

View options

Returns

IView

View

AddBatchAsync(ViewOptions)

Add a view part of a batch asynchroniously

Task<IView> AddBatchAsync(ViewOptions viewOptions)

Parameters

viewOptions ViewOptions

View options

Returns

Task<IView>

View

AddBatchAsync(Batch, ViewOptions)

Add a view part of a specific batch asynchroniously

Task<IView> AddBatchAsync(Batch batch, ViewOptions viewOptions)

Parameters

batch Batch

Batch to use

viewOptions ViewOptions

View options

Returns

Task<IView>

View