Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)
Usage
Visual Basic |
---|
Dim instance As ClaimCollection |
Syntax
Visual Basic |
---|
<DefaultMemberAttribute("Item")> _ Public Class ClaimCollection Implements IList(Of Claim), ICollection(Of Claim), _ IEnumerable(Of Claim), IEnumerable |
C# |
---|
[DefaultMemberAttribute("Item")] public class ClaimCollection : IList<Claim>, ICollection<Claim>, IEnumerable<Claim>, IEnumerable |
C++ |
---|
[DefaultMemberAttribute(L"Item")] public ref class ClaimCollection : IList<Claim^>, ICollection<Claim^>, IEnumerable<Claim^>, IEnumerable |
J# |
---|
/** @attribute DefaultMemberAttribute("Item") */ public class ClaimCollection implements IList<Claim>, ICollection<Claim>, IEnumerable<Claim>, IEnumerable |
JScript |
---|
DefaultMemberAttribute("Item") public class ClaimCollection implements IList<Claim>, ICollection<Claim>, IEnumerable<Claim>, IEnumerable |
Remarks
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.
Inheritance Hierarchy
System.Object
Microsoft.IdentityModel.Claims.ClaimCollection
Microsoft.IdentityModel.Claims.ClaimCollection
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.