Interface IFeatureCollection
Collection of site or web scoped features
Assembly: PnP.Core.dll
Syntax
public interface IFeatureCollection : IDataModelCollection<IFeature>, IDataModelParent, IDataModelWithContext, IRequestableCollection, ISupportModules<IFeatureCollection>
Methods
Declaration
Parameters
Guid
id
Id of the feature to disable
|
Declaration
Task DisableAsync(Guid id)
Parameters
Guid
id
Id of the feature to disable
|
Returns
Disable a feature in batch
Declaration
void DisableBatch(Guid id)
Parameters
Guid
id
Id of the feature to disable
|
Disable a feature in batch
Declaration
void DisableBatch(Batch batch, Guid id)
Parameters
Batch
batch
Batch to add this feature disable request to
|
Guid
id
Id of the feature to disable
|
Disable a feature in batch
Declaration
Task DisableBatchAsync(Guid id)
Parameters
Guid
id
Id of the feature to disable
|
Returns
Disable a feature in batch
Declaration
Task DisableBatchAsync(Batch batch, Guid id)
Parameters
Batch
batch
Batch to add this feature disable request to
|
Guid
id
Id of the feature to disable
|
Returns
Declaration
Parameters
Guid
id
Id of the feature to enable
|
Returns
Declaration
Task<IFeature> EnableAsync(Guid id)
Parameters
Guid
id
Id of the feature to enable
|
Returns
Enable a feature in batch
Declaration
IFeature EnableBatch(Guid id)
Parameters
Guid
id
Id of the feature to enable
|
Returns
Enable a feature in batch
Declaration
IFeature EnableBatch(Batch batch, Guid id)
Parameters
Batch
batch
Batch to add this feature enable request to
|
Guid
id
Id of the feature to enable
|
Returns
Enable a feature in batch
Declaration
Task<IFeature> EnableBatchAsync(Guid id)
Parameters
Guid
id
Id of the feature to enable
|
Returns
Enable a feature in batch
Declaration
Task<IFeature> EnableBatchAsync(Batch batch, Guid id)
Parameters
Batch
batch
Batch to add this feature enable request to
|
Guid
id
Id of the feature to enable
|
Returns
Extension Methods