GetMany method

int GetMany(
  1. int startIndex,
  2. Pointer<NativeType> items
)

Implementation

int GetMany(int startIndex, Pointer<NativeType> items) {
  switch (T) {
    // TODO: Need to update this once we add support for types like `int`,
    // `bool`, `double`, `GUID`, `DateTime`, `Point`, `Size` etc.
    case String:
      return _GetMany_String(startIndex, items.cast());
    // Handle WinRT types
    default:
      return _GetMany_COMObject(startIndex, items.cast());
  }
}