Share via


SetEnumerator.current Method

Retrieves the value that is pointed to by the enumerator.

Syntax

public anytype current()

Run On

Called

Return Value

Type: anytype
The value that is currently pointed to in the set.

Remarks

The type of the return value is determined by the type of items in the set.

You must call the SetEnumerator.moveNext method before you call the current method.

See Also

SetEnumerator Class

SetEnumerator.current Method