Search Results for

    Show / Hide Table of Contents

    Interface IFeatureCollection

    Collection of site or web scoped features

    Inherited Members
    IDataModelParent.Parent
    IDataModelWithContext.PnPContext
    IRequestableCollection.Requested
    IRequestableCollection.Length
    IRequestableCollection.RequestedItems
    IRequestableCollection.Clear()
    Namespace: PnP.Core.Model.SharePoint
    Assembly: PnP.Core.dll
    Syntax
    public interface IFeatureCollection : IDataModelCollection<IFeature>, IDataModelParent, IDataModelWithContext, IRequestableCollection, ISupportModules<IFeatureCollection>

    Methods

    Disable(Guid)

    Disable a feature

    Declaration
    void Disable(Guid id)
    Parameters
    Guid id

    Id of the feature to disable

    DisableAsync(Guid)

    Disable a feature

    Declaration
    Task DisableAsync(Guid id)
    Parameters
    Guid id

    Id of the feature to disable

    Returns
    Task

    DisableBatch(Guid)

    Disable a feature in batch

    Declaration
    void DisableBatch(Guid id)
    Parameters
    Guid id

    Id of the feature to disable

    DisableBatch(Batch, Guid)

    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

    DisableBatchAsync(Guid)

    Disable a feature in batch

    Declaration
    Task DisableBatchAsync(Guid id)
    Parameters
    Guid id

    Id of the feature to disable

    Returns
    Task

    DisableBatchAsync(Batch, Guid)

    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
    Task

    Enable(Guid)

    Enable a feature

    Declaration
    IFeature Enable(Guid id)
    Parameters
    Guid id

    Id of the feature to enable

    Returns
    IFeature

    Enabled feature

    EnableAsync(Guid)

    Enable a feature

    Declaration
    Task<IFeature> EnableAsync(Guid id)
    Parameters
    Guid id

    Id of the feature to enable

    Returns
    Task<IFeature>

    Enabled feature

    EnableBatch(Guid)

    Enable a feature in batch

    Declaration
    IFeature EnableBatch(Guid id)
    Parameters
    Guid id

    Id of the feature to enable

    Returns
    IFeature

    Enabled feature

    EnableBatch(Batch, Guid)

    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
    IFeature

    Enabled feature

    EnableBatchAsync(Guid)

    Enable a feature in batch

    Declaration
    Task<IFeature> EnableBatchAsync(Guid id)
    Parameters
    Guid id

    Id of the feature to enable

    Returns
    Task<IFeature>

    Enabled feature

    EnableBatchAsync(Batch, Guid)

    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
    Task<IFeature>

    Enabled feature

    Extension Methods

    RequestModuleExtensions.WithHeaders<TModel>(ISupportModules<TModel>, Dictionary<String, String>, Action<Dictionary<String, String>>)
    RequestModuleExtensions.WithResponseHeaders<TModel>(ISupportModules<TModel>, Action<Dictionary<String, String>>)
    QueryableExtensions.AsRequested<TSource>(IDataModelCollection<TSource>)
    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer