ClaimCollection 成员

Represents a collection of claims.

下表列出了 ClaimCollection 类型公开的成员。

Public 构造函数

  名称 说明
  ClaimCollection Initializes an instance of a ClaimCollection with the associated subject.

页首

Public 属性

  名称 说明
public property Count Gets the number of Claim objects available in this collection.
public property IsReadOnly Gets whether this collection is read-only.
public property Item Gets or sets the element at the specified index of the ClaimCollection.

页首

Public 方法

(另请参阅 Protected 方法)

  名称 说明
public method Add Adds a Claim to this collection, detaching it from its current collection.
public method AddRange Adds a set of Claims to the collection.
public method Clear Removes all Claims from this collection.
public method Contains Checks whether the given claim is in the collection.
public method CopyRange Adds a set of Claim objects to the collection without modifying the source objects.
public method CopyTo Copies the given set of Claims from the given array starting at arrayIndex.
public method CopyWithSubject Returns a new ClaimCollection object copied from this object.
public method Equals  已重载。 (从 Object 继承)
public method Exists Determines whether the ClaimCollection contains elements that match the conditions defined by the specified predicate.
public method FindAll Retrieves an ICollection<Claim> containing all the elements that match the conditions defined by the specified predicate.
public method GetEnumerator Gets an enumerator for the ClaimCollection.
public method GetHashCode  (从 Object 继承)
public method GetType  (从 Object 继承)
public method IndexOf Determines the index of a specific Claim object in the ClaimCollection.
public method Insert Inserts a Claim in the ClaimCollection at a specified index.
public methodstatic ReferenceEquals  (从 Object 继承)
public method Remove Removes a claim from the ClaimCollection.
public method RemoveAt Removes a claim from the ClaimCollection at the specified index.
public method ToString  (从 Object 继承)

页首

Protected 方法

  名称 说明
protected method Finalize  (从 Object 继承)
protected method MemberwiseClone  (从 Object 继承)

页首

显式接口实现

  名称 说明
  System.Collections.IEnumerable.GetEnumerator  

页首

请参见

参考

ClaimCollection 类
Microsoft.IdentityModel.Claims 命名空间

版权所有 (C) 2008 Microsoft Corporation。保留所有权利。