ArrayList: Item (set)

Item

Sets an item in the list to a value.



 Public Property Set Item(
	  ByVal Index As Long,
	  ByRef RHS As Variant )

Parameters

Index
[ByVal] Long. The index in the list to set the value.
RHS
[ByRef] Variant. The value to set in the list.

Remarks

This property is set as the Default property for this class. Items can be accessed parentheses:

Set list(index) = value

The index is zero-based.

Read/Write.

See Also

Class ArrayList Overview ArrayList Properties ArrayList Methods Item (let) LastIndexOf