Share via


LabelCollection class

Represents a collection of Label objects.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Client.ClientObject
    Microsoft.SharePoint.Client.ClientObjectCollection
      Microsoft.SharePoint.Client.ClientObjectCollection<Label>
        Microsoft.SharePoint.Client.Taxonomy.LabelCollection

Namespace:  Microsoft.SharePoint.Client.Taxonomy
Assembly:  Microsoft.SharePoint.Client.Taxonomy (in Microsoft.SharePoint.Client.Taxonomy.dll)

Syntax

'Declaration
Public NotInheritable Class LabelCollection _
    Inherits ClientObjectCollection(Of Label)
'Usage
Dim instance As LabelCollection
public sealed class LabelCollection : ClientObjectCollection<Label>

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 a string indexer based on the Value property.

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

LabelCollection members

Microsoft.SharePoint.Client.Taxonomy namespace

GenericCollection<T>

PropertyCollection<T>