SynchronizedCollection<T>.IList.Item Property (Int32)

 

Gets or sets the item at a specified zero-based index.

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

The item with the specified index.

Exception Condition
ArgumentException

The value set is null or is not of the correct generic type T for the collection.

ArgumentOutOfRangeException

The index specified is less than zero or greater than the number of items in the collection.

.NET Framework
Available since 3.0
Return to top
Show: