IndexedCollection<T> Class
Represents a generic abstract base class collection with support for containing items which require integer, string and GUID indexers
Inheritance Hierarchy
System.Object
Microsoft.SharePoint.Taxonomy.Generic.GenericCollection<T>
Microsoft.SharePoint.Taxonomy.Generic.IndexedCollection<T>
Microsoft.SharePoint.Taxonomy.Generic.TaxonomyItemCollection<T>
Microsoft.SharePoint.Taxonomy.TermStoreCollection
Namespace: Microsoft.SharePoint.Taxonomy.Generic
Assembly: Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public MustInherit Class IndexedCollection(Of T As Class) _
Inherits GenericCollection(Of T)
'Usage
Dim instance As IndexedCollection(Of T)
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public abstract class IndexedCollection<T> : GenericCollection<T>
where T : class
Type Parameters
- T
The type of items contained in the collection
Remarks
This class provides standard support for the IEnumerator object and the ICollection object and an integer indexer through the GenericCollection base class. Additionally, it provides string and GUID indexers with behavior defined by the derived collection class.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.