pmMDA.NET

PagedReadOnlyCollection.Item Property

[This is preliminary documentation and subject to change.]

Gets the item at a specified index.

public PmMda.Net.Dog.IDataObject this[
   int index
] {get;}

Remarks

It the requested item is already loaded, the loaded item will be returned. Otherwise the paged collection checks whether the item right before the requested item is loaded. If so, the next bunch of items is reloaded using the previous item as cursor. If the previous item is not available, then the items are reloaded using the specified index. In that case it would be possible that one item is read twice or that one item is omitted. If you iterate over this collection it is impossible that items are omitted or returned twice, because the previous item is always loaded.

See Also

PagedReadOnlyCollection Class | PmMda.Net.Dog.Paging Namespace