Represents a collection of claims.
下表列出了 ClaimCollection 类型公开的成员。
Public 构造函数
| 名称 | 说明 | |
|---|---|---|
| ClaimCollection | Initializes an instance of a ClaimCollection with the associated subject. |
页首
Public 属性
| 名称 | 说明 | |
|---|---|---|
![]() |
Count | Gets the number of Claim objects available in this collection. |
![]() |
IsReadOnly | Gets whether this collection is read-only. |
![]() |
Item | Gets or sets the element at the specified index of the ClaimCollection. |
页首
Public 方法
(另请参阅 Protected 方法)
| 名称 | 说明 | |
|---|---|---|
![]() |
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 | Checks whether the given claim is in the collection. |
![]() |
CopyRange | Adds a set of Claim objects to the collection without modifying the source objects. |
![]() |
CopyTo | Copies the given set of Claims from the given array starting at arrayIndex. |
![]() |
CopyWithSubject | Returns a new ClaimCollection object copied from this object. |
![]() |
Equals | 已重载。 (从 Object 继承) |
![]() |
Exists | Determines whether the ClaimCollection contains elements that match the conditions defined by the specified predicate. |
![]() |
FindAll | Retrieves an ICollection<Claim> containing all the elements that match the conditions defined by the specified predicate. |
![]() |
GetEnumerator | Gets an enumerator for the ClaimCollection. |
![]() |
GetHashCode | (从 Object 继承) |
![]() |
GetType | (从 Object 继承) |
![]() |
IndexOf | Determines the index of a specific Claim object in the ClaimCollection. |
![]() |
Insert | Inserts a Claim in the ClaimCollection at a specified index. |
![]() ![]() |
ReferenceEquals | (从 Object 继承) |
![]() |
Remove | Removes a claim from the ClaimCollection. |
![]() |
RemoveAt | Removes a claim from the ClaimCollection at the specified index. |
![]() |
ToString | (从 Object 继承) |
页首
Protected 方法
| 名称 | 说明 | |
|---|---|---|
![]() |
Finalize | (从 Object 继承) |
![]() |
MemberwiseClone | (从 Object 继承) |
页首
显式接口实现
| 名称 | 说明 | |
|---|---|---|
| System.Collections.IEnumerable.GetEnumerator |
页首
请参见
参考
ClaimCollection 类
Microsoft.IdentityModel.Claims 命名空间
版权所有 (C) 2008 Microsoft Corporation。保留所有权利。
.gif)
.gif)
.gif)
.gif)