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

ISharePointCollection<T> Interface

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

Represents a read-only collection of items. It provides no public methods to modify content of the collection. It is used as a base type for a number of collections in SharePoint project model. These collections are typically changed internally and events can be used to monitor for these changes.

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

public interface ISharePointCollection<T> : INotifyCollectionChanged, 
	INotifyPropertyChanged, IEnumerable<T>, IEnumerable

Type Parameters


The type of the item parameters.

The ISharePointCollection<T> type exposes the following members.

Public propertyCountGets the number of items in the collection.

Public methodContainsGets whether the provided item is a member of this collection.
Public methodCopyToCopies items from this collection into an array.
Public methodGetEnumeratorReturns an enumerator that iterates through the collection. (Inherited from IEnumerable<T>.)

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