Gets or sets the element at the specified index of the collection.
Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As ClaimsIdentityCollection
Dim index As Integer
Dim value As IClaimsIdentity

value = instance(index)

instance(index) = value

Syntax

Visual Basic
Public Default Property Item ( _
		index As Integer _
) As IClaimsIdentity
C#
public IClaimsIdentity this [
		int index
] { get; set; }
C++
public:
virtual property IClaimsIdentity^ default [int] {
		IClaimsIdentity^ get (int index) sealed;
		void set (int index, IClaimsIdentity^ value) sealed;
}
J#
/** @property */
public final IClaimsIdentity get_Item (int index)

/** @property */
public final void set_Item (int index, IClaimsIdentity value)
JScript

Parameters

index

The zero-based index of the element.

Property Value

Returns IClaimsIdentity. This is the element at the specified index.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also