TaxonomyItemCollection<T> Class
Represents a generic abstract base class collection with support for containing taxonomy items such as the Group object and the Term object.
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.GroupCollection
Microsoft.SharePoint.Taxonomy.TermCollection
Microsoft.SharePoint.Taxonomy.TermSetCollection
Namespace: Microsoft.SharePoint.Taxonomy.Generic
Assembly: Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public MustInherit Class TaxonomyItemCollection(Of T As TaxonomyItem) _
Inherits IndexedCollection(Of T)
'Usage
Dim instance As TaxonomyItemCollection(Of T)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public abstract class TaxonomyItemCollection<T> : IndexedCollection<T>
where T : TaxonomyItem
Type Parameters
- T
Remarks
This class provides standard support for the IEnumerator object and 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.
See Also
Reference
TaxonomyItemCollection<T> Members