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