Compartilhar via


LabelCollection Class

Represents a collection of Label objects.

Inheritance Hierarchy

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

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class LabelCollection _
    Inherits PropertyCollection(Of Label)
'Usage
Dim instance As LabelCollection
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class LabelCollection : PropertyCollection<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.Taxonomy Namespace

GenericCollection<T>

PropertyCollection<T>