Freigeben über


ClaimCollection Class

Represents a collection of claims.

Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Verwendung

    Dim instance As ClaimCollection

Syntax

'Declaration
<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

Hinweise

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.

Vererbungshierarchie

System.Object
  Microsoft.IdentityModel.Claims.ClaimCollection

Threadsicherheit

Beliebige öffentliche, statische (Freigegebene in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Plattformen

Entwicklungsplattformen

Windows Server 2003, Windows Vista

Target Platforms

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

Siehe auch

Referenz

ClaimCollection Members
Microsoft.IdentityModel.Claims Namespace