Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSCommon > GGraph > Classes > TGGraphNodesEnumerator > Methods

TGGraphNodesEnumerator.NextElement Method

Scroll Prev Top Next More

Returns the next node in the enumeration. If there are no more nodes, the method will raise an exception.

To check if there are more items, use the HasMoreElements method. The NextElement method advances its place in the enumeration and then returns that node. 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 GGraph.TGGraphNodesEnumerator.CurrentElement method.

Namespace: GGraph

Return Value

Type: TObject



RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb