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
webOptionsWebOptionsOptions 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
webOptionsWebOptionsOptions used when creating the new web
Returns
AddBatch(WebOptions)
Adds a new web to the current web
IWeb AddBatch(WebOptions webOptions)
Parameters
webOptionsWebOptionsOptions 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
batchBatchBatch to use
webOptionsWebOptionsOptions 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
webOptionsWebOptionsOptions used when creating the new web
Returns
AddBatchAsync(Batch, WebOptions)
Adds a new web to the current web
Task<IWeb> AddBatchAsync(Batch batch, WebOptions webOptions)
Parameters
batchBatchBatch to use
webOptionsWebOptionsOptions used when creating the new web