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

线程安全

此类型的任何公共静态(在 Visual Basic 中为 Shared)成员都是线程安全的。但不能保证任何实例成员是线程安全的。

平台

开发平台

Windows Server 2003, Windows Vista

Target Platforms

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

请参见

参考

ClaimCollection 成员
Microsoft.IdentityModel.Claims 命名空间