GetAt method

T GetAt(
  1. int index
)

Implementation

T GetAt(int index) {
  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 _GetAt_String(index) as T;
    // Handle WinRT types
    default:
      return creator!(_GetAt_COMObject(index));
  }
}