ISharePointCollection<T> Interface
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)
Syntax
'Declaration
Public Interface ISharePointCollection(Of T) _
Inherits INotifyCollectionChanged, INotifyPropertyChanged, IEnumerable(Of T), _
IEnumerable
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.
Properties
Name | Description | |
---|---|---|
Count | Gets the number of items in the collection. |
Top
Methods
Name | Description | |
---|---|---|
Contains | Gets whether the provided item is a member of this collection. | |
CopyTo | Copies items from this collection into an array. | |
GetEnumerator | Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<T>.) |
Top
Events
Name | Description | |
---|---|---|
CollectionChanged | Occurs when the collection changes. (Inherited from INotifyCollectionChanged.) | |
PropertyChanged | Occurs when a property value changes. (Inherited from INotifyPropertyChanged.) |
Top