ISharePointProjectFeatureCollection Interface
TOC
Collapse the table of content
Expand the table of content

ISharePointProjectFeatureCollection Interface

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

Namespace:  Microsoft.VisualStudio.SharePoint
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

public interface ISharePointProjectFeatureCollection : ISharePointCollection<ISharePointProjectFeature>, 
	INotifyCollectionChanged, INotifyPropertyChanged, IEnumerable<ISharePointProjectFeature>, IEnumerable

The ISharePointProjectFeatureCollection type exposes the following members.

  NameDescription
Public propertyCountGets the number of items in the collection. (Inherited from ISharePointCollection<T>.)
Public propertyItemGets an instance of ISharePointProjectFeature with the specified folder path.
Public propertyProjectThe ISharePointProject to which the features are associated.
Top

  NameDescription
Public methodAdd()Adds a new feature.
Public methodAdd(Boolean)Adds a new feature.
Public methodAdd(String)Adds a new feature using the specified feature name.
Public methodAdd(String, Boolean)Adds a new feature using the specified feature name.
Public methodContainsGets whether the provided item is a member of this collection. (Inherited from ISharePointCollection<T>.)
Public methodCopyToCopies items from this collection into an array. (Inherited from ISharePointCollection<T>.)
Public methodFindGets an instance of an ISharePointProjectFeature with the specified ID.
Public methodGetEnumeratorReturns an enumerator that iterates through the collection. (Inherited from IEnumerable<ISharePointProjectFeature>.)
Top

  NameDescription
Public eventCollectionChangedOccurs when the collection changes. (Inherited from INotifyCollectionChanged.)
Public eventPropertyChangedOccurs when a property value changes. (Inherited from INotifyPropertyChanged.)
Top

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.

Show:
© 2016 Microsoft