Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[Starting with the .NET Framework 4.5, Windows Identity Foundation (WIF) has been fully integrated into the .NET Framework. The version of WIF addressed by this topic, WIF 3.5, is deprecated and should only be used when developing against the .NET Framework 3.5 SP1 or the .NET Framework 4. For more information about WIF in the .NET Framework 4.5, also known as WIF 4.5, see the Windows Identity Foundation documentation in the .NET Framework 4.5 Development Guide.]
Represents a collection of claims.
The following tables list the members exposed by the ClaimCollection type.
Public Constructors
Name | Description | |
---|---|---|
ClaimCollection | Initializes a new instance of the ClaimCollection class associated with the specified subject. |
Top
Public Properties
Name | Description | |
---|---|---|
![]() |
Count | Gets the number of Claim objects in the collection. |
![]() |
IsReadOnly | Gets a value that indicates whether the collection is read-only. |
![]() |
Item | Gets or sets the element at the specified index of the collection. |
Top
Public Methods
(see also Protected Methods)
Name | Description | |
---|---|---|
![]() |
Add | Adds a Claim to this collection, detaching it from its current collection. |
![]() |
AddRange | Adds a set of claims to the collection. |
![]() |
Clear | Removes all claims from this collection. |
![]() |
Contains | Returns a value that indicates whether the specified claim is in the collection. |
![]() |
CopyRange | Adds a set of Claim objects to the collection without modifying the source objects. |
![]() |
CopyTo | Copies the elements of the collection to the specified array starting at the specified index in the array. |
![]() |
CopyWithSubject | Returns a new ClaimCollection copied from this instance. The new collection is associated with the specified subject. |
![]() |
Equals | (Inherited from Object) |
![]() |
Exists | Returns a value that indicates whether the ClaimCollection contains elements that match the conditions defined by the specified predicate. |
![]() |
FindAll | Returns a collection of claims that match the conditions defined by the specified predicate. |
![]() |
GetEnumerator | Gets an enumerator for the ClaimCollection. |
![]() |
GetHashCode | (Inherited from Object) |
![]() |
GetType | (Inherited from Object) |
![]() |
IndexOf | Returns the index of the specified claim in the ClaimCollection. |
![]() |
Insert | Inserts a claim in the ClaimCollection at the specified index. |
![]() |
Remove | Removes a claim from the ClaimCollection. |
![]() |
RemoveAt | Removes a claim from the ClaimCollection at the specified index. |
![]() |
ToString | (Inherited from Object) |
Top
Protected Methods
Name | Description | |
---|---|---|
![]() |
Finalize | (Inherited from Object) |
![]() |
MemberwiseClone | (Inherited from Object) |
Top
See Also
Reference
ClaimCollection Class
Microsoft.IdentityModel.Claims Namespace
Copyright © 2008 by Microsoft Corporation. All rights reserved.