PropertyCollection<T> Class

A generic abstract base class collection with support for containing items that are complex property types such as Label

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Taxonomy.Generic.GenericCollection<T>
    Microsoft.SharePoint.Taxonomy.Generic.PropertyCollection<T>
      Microsoft.SharePoint.Taxonomy.LabelCollection

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 PropertyCollection(Of T As Class) _
    Inherits GenericCollection(Of T)
'Usage
Dim instance As PropertyCollection(Of T)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public abstract class PropertyCollection<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 support and an integer indexer through the GenericCollection base class. Additionally, it provides a string indexer 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

PropertyCollection<T> Members

Microsoft.SharePoint.Taxonomy.Generic Namespace

GenericCollection<T>