ImmutableArray<T>::Insert Method (Int32, T)
Returns a new array with the specified value inserted at the specified position.
Assembly: System.Collections.Immutable (in System.Collections.Immutable.dll)
Parameters
- index
-
Type:
System::Int32
The 0-based index into the array at which the new item should be added.
- item
-
Type:
T
The item to insert at the start of the array.
Return Value
Type: System.Collections.Immutable::ImmutableArray<T>A new array with the item inserted at the specified index.
Show: