Options
All
  • Public
  • Public/Protected
  • All
Menu

Allows enumerating over a COM collection, which may not have indexed item access.

Type parameters

  • T

Hierarchy

  • Enumerator

Index

Methods

atEnd

  • atEnd(): boolean
  • Returns true if the current item is the last one in the collection, or the collection is empty, or the current item is undefined.

    Returns boolean

item

  • item(): T
  • Returns the current item in the collection

    Returns T

moveFirst

  • moveFirst(): void
  • Resets the current item in the collection to the first item. If there are no items in the collection, the current item is set to undefined.

    Returns void

moveNext

  • moveNext(): void
  • Moves the current item to the next item in the collection. If the enumerator is at the end of the collection or the collection is empty, the current item is set to undefined.

    Returns void

Generated using TypeDoc