Partager via


Classe ClaimCollection

Represents a collection of claims.

Espace de noms: Microsoft.IdentityModel.Claims
Assembly : Microsoft.IdentityModel (dans microsoft.identitymodel.dll)

Utilisation

    Dim instance As ClaimCollection

Syntaxe

'Déclaration
<DefaultMemberAttribute("Item")> _
Public Class ClaimCollection
    Implements IList(Of Claim), ICollection(Of Claim), _
    IEnumerable(Of Claim), IEnumerable
[DefaultMemberAttribute("Item")] 
public class ClaimCollection : IList<Claim>, ICollection<Claim>, 
    IEnumerable<Claim>, IEnumerable
[DefaultMemberAttribute(L"Item")] 
public ref class ClaimCollection : IList<Claim^>, ICollection<Claim^>, 
    IEnumerable<Claim^>, IEnumerable
/** @attribute DefaultMemberAttribute("Item") */ 
public class ClaimCollection implements IList<Claim>, 
    ICollection<Claim>, IEnumerable<Claim>, IEnumerable
DefaultMemberAttribute("Item") 
public class ClaimCollection implements IList<Claim>, 
    ICollection<Claim>, IEnumerable<Claim>, IEnumerable

Remarques

Represents a collection of Claims associated with a single subject.

Adding a Claim to a ClaimCollection implicitly associates that Claim with the subject associated with the collection by calling the Claim.SetSubject method.

Removing a claim from a ClaimCollection implicitly removes this association by also calling the Claim.SetSubject method.

Hiérarchie d'héritage

System.Object
  Microsoft.IdentityModel.Claims.ClaimCollection

Cohérence de thread

Tous les membres statiques publics (partagés dans Visual Basic) de ce type sont thread-safe.Il n'est pas garanti que les membres d'instance soient thread-safe.

Plateformes

Plateformes de développement

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

Voir aussi

Référence

Membres ClaimCollection
Espace de noms Microsoft.IdentityModel.Claims