SynchronizedReadOnlyCollection<T>.IList.Item[Int32] Property

Definition

Gets the item at a specified zero-based index.

C#
object System.Collections.IList.Item[int index] { get; set; }

Parameters

index
Int32

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

Property Value

The item at a specified zero-based index.

Implements

Exceptions

Items cannot be set in a read-only collection.

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1