Skip past navigation linksSecure Global Desktop 4.31 Administration Guide > Applets > getCurrentIteratorElement (webtop script and webtop tray applets)

getCurrentIteratorElement (webtop script and webtop tray applets)

Syntax

Skip past command syntax or program codeString getCurrentIteratorElement(String iteratorHandle)

Description

Returns the name of the current object found in the iterator identified by the iterator handle.

iteratorHandle is the handle to an iterator previously created with one of the getIterator methods.

Repeated calls to getCurrentIteratorElement will always return the same object name.

This method can be used with either the webtop script applet or the webtop tray applet.

Examples

Skip past command syntax or program codecurrent = applet.getCurrentIteratorElement(iterator);

Returns the current object for the iterator handle named.

Related topics