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

T

The type of the item parameters.

The ISharePointCollection<T> type exposes the following members.

  NameDescription
Public propertyCountGets the number of items in the collection.
Top

  NameDescription
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>.)
Top

  NameDescription
Public eventCollectionChangedOccurs when the collection changes. (Inherited from INotifyCollectionChanged.)
Public eventPropertyChangedOccurs when a property value changes. (Inherited from INotifyPropertyChanged.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft