SetAt method

void SetAt(
  1. int index,
  2. T value
)

Implementation

void SetAt(int index, T value) {
  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 _SetAt_String(index, value as String);
    // Handle WinRT types
    default:
      return _SetAt_COMObject(index, value);
  }
}