ISharePointProjectFeatureCollection Interface
A collection of all SharePoint features defined in the SharePoint project.
Namespace: Microsoft.VisualStudio.SharePoint
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Public Interface ISharePointProjectFeatureCollection _
Inherits ISharePointCollection(Of ISharePointProjectFeature), INotifyCollectionChanged, INotifyPropertyChanged, _
IEnumerable(Of ISharePointProjectFeature), IEnumerable
public interface ISharePointProjectFeatureCollection : ISharePointCollection<ISharePointProjectFeature>,
INotifyCollectionChanged, INotifyPropertyChanged, IEnumerable<ISharePointProjectFeature>, IEnumerable
The ISharePointProjectFeatureCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
Count | Gets the number of items in the collection. (Inherited from ISharePointCollection<T>.) | |
Item | Gets an instance of ISharePointProjectFeature with the specified folder path. | |
Project | The ISharePointProject to which the features are associated. |
Top
Methods
Name | Description | |
---|---|---|
Add() | Adds a new feature. | |
Add(Boolean) | Adds a new feature. | |
Add(String) | Adds a new feature using the specified feature name. | |
Add(String, Boolean) | Adds a new feature using the specified feature name. | |
Contains | Gets whether the provided item is a member of this collection. (Inherited from ISharePointCollection<T>.) | |
CopyTo | Copies items from this collection into an array. (Inherited from ISharePointCollection<T>.) | |
Find | Gets an instance of an ISharePointProjectFeature with the specified ID. | |
GetEnumerator | Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<ISharePointProjectFeature>.) |
Top
Events
Name | Description | |
---|---|---|
CollectionChanged | Occurs when the collection changes. (Inherited from INotifyCollectionChanged.) | |
PropertyChanged | Occurs when a property value changes. (Inherited from INotifyPropertyChanged.) |
Top
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.