|
CurrentElement
|
Returns the current interface item in the enumeration, your "place" in the enumeration.
When the iterator is first supplied or when it is RSInterfaceCollections.TInterfaceListIterator.Reset , there is no current element (calling this method in such a case would raise an exception). Only after the first call to the RSInterfaceCollections.TInterfaceListIterator.NextElement method will this method return a value. Unlike the 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).
This method is part of the CommonInterfaces.IInterfaceIterator interface.
|
|
GetCount
|
Accessor method for the RSInterfaceCollections.TInterfaceListIterator.Count property.
|
|
GetCurrent
|
Returns the current interface item in the enumeration, your "place" in the enumeration.
|
|
get_Count
|
Accessor method for the RSInterfaceCollections.TInterfaceListIterator.Count property.
|
|
HasMoreElements
|
Returns True if there are more elements to retrieve from the enumeration. While this method returns true, the RSInterfaceCollections.TInterfaceListIterator.NextElement method will not raise an exception.
This method is part of the CommonInterfaces.IInterfaceIterator interface.
|
|
MoveNext
|
Returns the next item in the enumeration. If there are no more items, the method will raise an exception.
|
|
NextElement
|
Returns the next item in the enumeration. If there are no more items, the method will raise an exception. To check if there are more items, use the RSInterfaceCollections.TInterfaceListIterator.HasMoreElements method. The NextElement method advances its place in the enumeration and then returns that item. Every call to NextElement returns a new item (until the end of the enumeration). If you wish to access the current item multiple times in a loop, use the RSInterfaceCollections.TInterfaceListIterator.CurrentElement method.
This method is part of the CommonInterfaces.IInterfaceIterator interface.
|
|
Reset
|
Resets the iterator to the beginning of the enumeration.
This method is part of the CommonInterfaces.IInterfaceIterator interface.
|