Compartilhar via


LabelCollection classe

Representa uma coleção de objetos Label .

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 (em Microsoft.SharePoint.Taxonomy.dll)

Sintaxe

'Declaração
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class LabelCollection _
    Inherits PropertyCollection(Of Label)
'Uso
Dim instance As LabelCollection
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class LabelCollection : PropertyCollection<Label>

Comentários

Essa classe fornece suporte padrão para o objeto IEnumerator , objeto de ICollection e um indexador inteiro por meio da classe de base GenericCollection. Além disso, ele fornece um indexador de cadeia de caracteres com base na propriedade Value .

Segurança de thread

Os membros públicos estática (Shared no Visual Basic) desse tipo são seguros para thread. Nenhum membro de instância pode ser garantido como seguro para thread.

Ver também

Referência

LabelCollection membros

Microsoft.SharePoint.Taxonomy namespace

GenericCollection<T>

PropertyCollection<T>