Compartilhar via


ClaimsIdentityCollection Members

[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 subjects.

The following tables list the members exposed by the ClaimsIdentityCollection type.

Public Constructors

  Name Description
  ClaimsIdentityCollection Overloaded. Creates a new instance of the ClaimsIdentityCollection class.

Top

Public Properties

  Name Description
public property Count Gets the number of elements in the collection.
public property IsReadOnly Gets a value that indicates whether the collection is read-only.
public property Item Gets or sets the subject (element) at the specified index of the collection.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Add Adds the specified subject to the collection.
public method AddRange Adds the specified collection of subjects to the collection.
public method Clear Clears the collection.
public method Contains Returns a value that indicates whether the specified subject is in the collection.
public method Copy Returns a new ClaimsIdentityCollection object copied from this object.
public method CopyTo Copies all the elements of the current ClaimsIdentityCollection to the specified destination array starting at the specified index in the destination array.
public method Equals  (Inherited from Object)
public method GetEnumerator Gets an enumerator for the collection.
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public method IndexOf Determines the index of the specified subject.
public method Insert Inserts a subject at the specified index.
public method Remove Removes the specified subject from the collection.
public method RemoveAt Removes the subject (element) at the specified index in the collection.
public method ToString  (Inherited from Object)

Top

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)

Top

See Also

Reference

ClaimsIdentityCollection Class
Microsoft.IdentityModel.Claims Namespace

Copyright © 2008 by Microsoft Corporation. All rights reserved.