This documentation is archived and is not being maintained.

SynchronizedReadOnlyCollection<T>.IList.Item Property

Namespace:  System.Collections.Generic
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

Object IList.this[
	int index
] { get; set; }

Parameters

index
Type: System.Int32

The zero-based index of the element to be retrieved from the collection.

Property Value

Type: System.Object

Implements

IList.Item[Int32]

ExceptionCondition
NotSupportedException

Items cannot be set in a read-only collection.

Gets the item at a specified zero-based index.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Show: