Table of Contents

Interface IWebCollection

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

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

public interface IWebCollection : IQueryable<IWeb>, IQueryable, IAsyncEnumerable<IWeb>, IDataModelCollection<IWeb>, IEnumerable<IWeb>, IEnumerable, IDataModelParent, IDataModelWithContext, IRequestableCollection, IDataModelCollectionLoad<IWeb>, ISupportModules<IWebCollection>
Inherited Members
Extension Methods

Methods

Add(WebOptions)

Adds a new web to the current web

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

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

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

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

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

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