IList.IListItem Property

Collection.IList.Item Property (Int32)

 

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

Namespace:   Microsoft.VisualBasic
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

object IList.this[
	int index
] { get; set; }

Parameters

index
Type: System.Int32

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

Property Value

Type: System.Object

The element at the specified index.

Exception Condition
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 Collection.Item property.

Return to top
Show:
© 2016 Microsoft