getMany method

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

Retrieves multiple items from the vector view beginning at the given index.

Implementation

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

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

  return _getMany_COMObject(startIndex, capacity, value.cast());
}