Поделиться через


Класс ClaimCollection

Represents a collection of claims.

Пространство имен: Microsoft.IdentityModel.Claims
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)

Использование

    Dim instance As ClaimCollection

Синтаксис

'Декларация
<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

Примечания

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.

Иерархия наследования

System.Object
  Microsoft.IdentityModel.Claims.ClaimCollection

Безопасность потоков

Любые открытые статические члены (Shared в Visual Basic) этого типа являются поточно-ориентированными.Любые члены экземпляров не являются гарантированно поточно-ориентированными.

Платформы

Платформа разработки

Windows Server 2003, Windows Vista

Target Platforms

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

См. также

Справочник

ClaimCollection Члены
Пространство имен Microsoft.IdentityModel.Claims