We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

ISharePointProjectCollection 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 projects in the Visual Studio solution.

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

public interface ISharePointProjectCollection : ISharePointCollection<ISharePointProject>, 
	INotifyCollectionChanged, INotifyPropertyChanged, IEnumerable<ISharePointProject>, IEnumerable

The ISharePointProjectCollection type exposes the following members.

Public propertyCountGets the number of items in the collection. (Inherited from ISharePointCollection<T>.)
Public propertyItemGets an instance of the SharePoint project using the specified project path.
Public propertyProjectServiceGets an instance of the SharePoint project service.

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 methodFindFinds an instance of SharePoint project with the specified ID.
Public methodGetEnumeratorReturns an enumerator that iterates through the collection. (Inherited from IEnumerable<ISharePointProject>.)

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