Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSCommon > RSGenerics.Collections > Classes > TRSStringObjectHashTable<T>.TObjectIterator > Methods

TRSStringObjectHashTable<T>.TObjectIterator.CurrentElement Method

Scroll Prev Top Next More

Returns the current object value in the enumeration, your "place" in the enumeration.

When the iterator is first supplied or when it is RSGenerics.Collections.TRSStringObjectHashTable<T>.TObjectIterator.Reset , there is no current element (calling this method in such a case should raise an exception). Only after the first call to the NextElement method will this method return a value.

Unlike the RSGenerics.Collections.TRSStringObjectHashTable<T>.TObjectIterator.NextElement method which returns a new value every time you call it, this method always returns the same value no matter how many times you call it (until NextElement is called, of course).

Namespace: RSGenerics.Collections

Return Value

Type: TObject

Implements

IObjectIterator.CurrentElement
 

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb