Interface IFeatureCollection
- Namespace
- PnP.Core.Model.SharePoint
- Assembly
- PnP.Core.dll
Collection of site or web scoped features
public interface IFeatureCollection : IQueryable<IFeature>, IQueryable, IDataModelCollection<IFeature>, IEnumerable<IFeature>, IEnumerable, IDataModelParent, IDataModelWithContext, IRequestableCollection, ISupportModules<IFeatureCollection>
- Inherited Members
- Extension Methods
Methods
Disable(Guid)
Disable a feature
void Disable(Guid id)
Parameters
idGuidId of the feature to disable
DisableAsync(Guid)
Disable a feature
Task DisableAsync(Guid id)
Parameters
idGuidId of the feature to disable
Returns
DisableBatch(Batch, Guid)
Disable a feature in batch
void DisableBatch(Batch batch, Guid id)
Parameters
DisableBatch(Guid)
Disable a feature in batch
void DisableBatch(Guid id)
Parameters
idGuidId of the feature to disable
DisableBatchAsync(Batch, Guid)
Disable a feature in batch
Task DisableBatchAsync(Batch batch, Guid id)
Parameters
Returns
DisableBatchAsync(Guid)
Disable a feature in batch
Task DisableBatchAsync(Guid id)
Parameters
idGuidId of the feature to disable
Returns
Enable(Guid)
Enable a feature
IFeature Enable(Guid id)
Parameters
idGuidId of the feature to enable
Returns
- IFeature
Enabled feature
EnableAsync(Guid)
Enable a feature
Task<IFeature> EnableAsync(Guid id)
Parameters
idGuidId of the feature to enable
Returns
EnableBatch(Batch, Guid)
Enable a feature in batch
IFeature EnableBatch(Batch batch, Guid id)
Parameters
Returns
- IFeature
Enabled feature
EnableBatch(Guid)
Enable a feature in batch
IFeature EnableBatch(Guid id)
Parameters
idGuidId of the feature to enable
Returns
- IFeature
Enabled feature
EnableBatchAsync(Batch, Guid)
Enable a feature in batch
Task<IFeature> EnableBatchAsync(Batch batch, Guid id)
Parameters
Returns
EnableBatchAsync(Guid)
Enable a feature in batch
Task<IFeature> EnableBatchAsync(Guid id)
Parameters
idGuidId of the feature to enable