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 中為 共用) 成員都具備執行緒安全。不保證任何執行個體成員都具備執行緒安全。
平台
開發平台
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP