method UnboundHandler.ReadItem (Index as Long, Source as Object)
The source requires an item.

TypeDescription
Index as Long A Long expression that specifies the index of the item to be requested. Use the VirtualToItem property to get the index of the item in the list giving the index of the virtual item.
Source as Object The source object to be filled. 
The ReadItem method is called every time the Source requires an item to be displayed.

The following VB sample, shows how ReadItem method should be implemented:

Private Sub IUnboundHandler_ReadItem(ByVal Index As Long, ByVal Source As Object)
    With Source.Items
        .Caption(.VirtualToItem(Index), 0) = Index + 1
    End With
End Sub

The following VB/NET sample, shows how ReadItem method should be implemented:

Public Sub ReadItem(ByVal Index As Integer, ByVal Source As Object) Implements EXLISTLib.IUnboundHandler.ReadItem
    With Source.Items
        .Caption(.VirtualToItem(Index), 0) = Index + 1
    End With
End Sub

The following C# sample, shows how ReadItem method should be implemented:

public void ReadItem(int Index, object Source)
{
    (Source as EXLISTLib.IList).Items.set_Caption((Source as EXLISTLib.IList).Items.get_VirtualToItem(Index), 0, Index + 1);
}

The following VFP sample , shows how ReadItem method should be implemented:

function IUnboundHandler_ReadItem(Index, Source)
	With Source.Items
        .Caption(.VirtualToItem(Index), 0) = Index + 1 
    EndWith
endfunc