Collection.IListItem Property 

Gets or sets the element at the specified index. Implements the IList interface.

Namespace: Microsoft.VisualBasic

Assembly: Microsoft.VisualBasic (in microsoft.visualbasic.dll)


private object this[int index] { get; set; }

Parameters

index

The zero-based index of the element to get or set.

The element at the specified index.

Exception Description

ArgumentOutOfRangeException

index is not a valid index in the Collection object.

NotSupportedException

The property is set and the Collection object is read-only.

This property is similar to the Microsoft.VisualBasic.Collection.Item(System.Int32) property.

.NET Framework

Supported in: 2.0, 1.1, 1.0

Show: