Redigera

Dela via


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

Definition

Inserts an item to the immutable list 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 item should be inserted.

item
T

The object to insert into the immutable list.

Implements

Applies to