Modifier

Partager via


ImmutableArray<T>.Builder.Insert(Int32, T) Method

Definition

Inserts an item in the array at the specified index.

public:
 virtual void Insert(int index, T item);
public void Insert (int index, T item);
abstract member Insert : int * 'T -> unit
override this.Insert : int * 'T -> unit
Public Sub Insert (index As Integer, item As T)

Parameters

index
Int32

The zero-based index at which to insert the item.

item
T

The object to insert into the array.

Implements

Applies to