Partager via


ArrayList.Item Property

Gets or sets the object at the specified index number in the ArrayList collection.

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

Syntax

public virtual 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 ArrayList collection.

Version Information

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

See Also

Reference

ArrayList Class
ArrayList Members
System.Collections Namespace