Interface IWebCollection
Public interface to define a collection of Web objects of SharePoint Online
Assembly: PnP.Core.dll
Syntax
public interface IWebCollection : IDataModelCollection<IWeb>, IDataModelParent, IDataModelWithContext, IRequestableCollection, IDataModelCollectionLoad<IWeb>, ISupportModules<IWebCollection>
Methods
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
|
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
|
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
|
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
|
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
|
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