Partager via


ISharePointProjectFeatureCollection Interface

Definition

A collection of all SharePoint features defined in the SharePoint project.

public interface class ISharePointProjectFeatureCollection : Microsoft::VisualStudio::SharePoint::ISharePointCollection<Microsoft::VisualStudio::SharePoint::ISharePointProjectFeature ^>, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::SharePoint::ISharePointProjectFeature ^>, System::Collections::Specialized::INotifyCollectionChanged, System::ComponentModel::INotifyPropertyChanged
public interface ISharePointProjectFeatureCollection : Microsoft.VisualStudio.SharePoint.ISharePointCollection<Microsoft.VisualStudio.SharePoint.ISharePointProjectFeature>, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.SharePoint.ISharePointProjectFeature>, System.Collections.Specialized.INotifyCollectionChanged, System.ComponentModel.INotifyPropertyChanged
type ISharePointProjectFeatureCollection = interface
    interface ISharePointCollection<ISharePointProjectFeature>
    interface INotifyCollectionChanged
    interface INotifyPropertyChanged
    interface seq<ISharePointProjectFeature>
    interface IEnumerable
Public Interface ISharePointProjectFeatureCollection
Implements IEnumerable(Of ISharePointProjectFeature), INotifyCollectionChanged, INotifyPropertyChanged, ISharePointCollection(Of ISharePointProjectFeature)
Implements

Remarks

Features defined in the project may or may not be included to the solution package associated with the project. Features can be referenced from packages associated with other projects.

Properties

Count

Gets the number of items in the collection.

(Inherited from ISharePointCollection<T>)
Item[String]

Gets an instance of ISharePointProjectFeature with the specified folder path.

Project

The ISharePointProject to which the features are associated.

Methods

Add()

Adds a new feature.

Add(Boolean)

Adds a new feature.

Add(String, Boolean)

Adds a new feature using the specified feature name.

Add(String)

Adds a new feature using the specified feature name.

Contains(T)

Gets whether the provided item is a member of this collection.

(Inherited from ISharePointCollection<T>)
CopyTo(T[], Int32)

Copies items from this collection into an array.

(Inherited from ISharePointCollection<T>)
Find(Guid)

Gets an instance of an ISharePointProjectFeature with the specified ID.

Applies to