Partager via


IList.Item Property

When implemented by a class, this property gets or sets the object at the specified index number in the IList collection.

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)

Syntax

public virtual abstract Object this [
         int index
] { get; set; }

Parameters

  • index
    The zero-based index number of the object you want to get or set.

Property Value

The object at the specified index number in the IList collection.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

IList Interface
IList Members
System.Collections Namespace