Search Results for

    Show / Hide Table of Contents

    Interface IWebCollection

    Public interface to define a collection of Web objects of SharePoint Online

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

    Methods

    Add(WebOptions)

    Adds a new web to the current web

    Declaration
    IWeb Add(WebOptions webOptions)
    Parameters
    WebOptions webOptions

    Options used when creating the new web

    Returns
    IWeb

    The newly created web

    AddAsync(WebOptions)

    Adds a new web to the current web

    Declaration
    Task<IWeb> AddAsync(WebOptions webOptions)
    Parameters
    WebOptions webOptions

    Options used when creating the new web

    Returns
    Task<IWeb>

    The newly created web

    AddBatch(WebOptions)

    Adds a new web to the current web

    Declaration
    IWeb AddBatch(WebOptions webOptions)
    Parameters
    WebOptions webOptions

    Options used when creating the new web

    Returns
    IWeb

    The newly created web

    AddBatch(Batch, WebOptions)

    Adds a new web to the current web

    Declaration
    IWeb AddBatch(Batch batch, WebOptions webOptions)
    Parameters
    Batch batch

    Batch to use

    WebOptions webOptions

    Options used when creating the new web

    Returns
    IWeb

    The newly created web

    AddBatchAsync(WebOptions)

    Adds a new web to the current web

    Declaration
    Task<IWeb> AddBatchAsync(WebOptions webOptions)
    Parameters
    WebOptions webOptions

    Options used when creating the new web

    Returns
    Task<IWeb>

    The newly created web

    AddBatchAsync(Batch, WebOptions)

    Adds a new web to the current web

    Declaration
    Task<IWeb> AddBatchAsync(Batch batch, WebOptions webOptions)
    Parameters
    Batch batch

    Batch to use

    WebOptions webOptions

    Options used when creating the new web

    Returns
    Task<IWeb>

    The newly created web

    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