getMany method

int getMany(
  1. int capacity,
  2. Pointer<NativeType> value
)

Retrieves multiple items from the iterator.

Implementation

int getMany(int capacity, Pointer<NativeType> value) {
  if (isSameType<T, int>() || isSubtypeOfWinRTEnum<T>()) {
    return _getMany_int(capacity, value);
  }

  if (isSameType<T, String>()) return _getMany_String(capacity, value.cast());
  return _getMany_COMObject(capacity, value.cast());
}