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.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public MustInherit Class PropertyCollection(Of T As Class) _
    Inherits GenericCollection(Of T)
'Usage
Dim instance As PropertyCollection(Of T)
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, 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>