共用方式為


ClaimCollection 成員

Represents a collection of claims.

下表列出 ClaimCollection 型別公開的成員。

公用 建構函式

  名稱 描述
  ClaimCollection Initializes an instance of a ClaimCollection with the associated subject.

最上層

公用 屬性

  名稱 描述
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 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 method Finalize  (繼承自 Object)
protected method MemberwiseClone  (繼承自 Object)

最上層

明確介面實作

  名稱 描述
  System.Collections.IEnumerable.GetEnumerator  

最上層

請參閱

參考

ClaimCollection 類別
Microsoft.IdentityModel.Claims 命名空間

Copyright © 2008 by Microsoft Corporation.All rights reserved.