Search Results for

    Show / Hide Table of Contents

    Interface IViewCollection

    Public interface to define a collection of View objects

    Inherited Members
    IDataModelParent.Parent
    IDataModelWithContext.PnPContext
    IRequestableCollection.Requested
    IRequestableCollection.Length
    IRequestableCollection.RequestedItems
    IRequestableCollection.Clear()
    IDataModelCollectionLoad<IView>.LoadAsync(Expression<Func<IView, Object>>[])
    IDataModelCollectionLoad<IView>.LoadBatchAsync(Batch, Expression<Func<IView, Object>>[])
    IDataModelCollectionDeleteByGuidId.DeleteById(Guid)
    IDataModelCollectionDeleteByGuidId.DeleteByIdAsync(Guid)
    IDataModelCollectionDeleteByGuidId.DeleteByIdBatch(Guid)
    IDataModelCollectionDeleteByGuidId.DeleteByIdBatchAsync(Guid)
    IDataModelCollectionDeleteByGuidId.DeleteByIdBatch(Batch, Guid)
    IDataModelCollectionDeleteByGuidId.DeleteByIdBatchAsync(Batch, Guid)
    Namespace: PnP.Core.Model.SharePoint
    Assembly: PnP.Core.dll
    Syntax
    public interface IViewCollection : IDataModelCollection<IView>, IDataModelParent, IDataModelWithContext, IRequestableCollection, IDataModelCollectionLoad<IView>, IDataModelCollectionDeleteByGuidId, ISupportModules<IViewCollection>

    Methods

    Add(ViewOptions)

    Adds a new view

    Declaration
    IView Add(ViewOptions viewOptions)
    Parameters
    ViewOptions viewOptions

    View options

    Returns
    IView

    View

    AddAsync(ViewOptions)

    Asynchronously adds a new view

    Declaration
    Task<IView> AddAsync(ViewOptions viewOptions)
    Parameters
    ViewOptions viewOptions

    View options

    Returns
    Task<IView>

    View

    AddBatch(ViewOptions)

    Add a view part of a batch

    Declaration
    IView AddBatch(ViewOptions viewOptions)
    Parameters
    ViewOptions viewOptions

    View options

    Returns
    IView

    View

    AddBatch(Batch, ViewOptions)

    Add a view part of a specific batch asynchroniously

    Declaration
    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

    Declaration
    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

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

    Batch to use

    ViewOptions viewOptions

    View options

    Returns
    Task<IView>

    View

    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>>)
    QueryableExtensions.AsRequested<TSource>(IDataModelCollection<TSource>)
    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer