Show/Hide Toolbars

RiverSoftAVG Products Help

Returns the current item (as a TRSPointerType) in the enumeration (for CommonInterfaces.IIterator), your "place" in the enumeration. It returns the Objects property of TStrings as a TRSPointerType. When the iterator is first supplied or when it is    Reset, there is no current element (calling this method in such a case would raise an exception). Only after the first call to the    NextElementPmethod will this method return a value. Unlike the NextElementP 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 NextElementP is called, of course).

This method is part of the CommonInterfaces.IIterator interface.

noteNote

The    CurrentElementO method implements the CurrentElement method for the IObjectIterator interface, and the    CurrentElement method implements the CurrentElement method for the IStringIterator interface.

Namespace: RSInterfaceCollections

Return Value

Type: TRSPointerType

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb