Int32Collection.Insert(Int32, Int32) Metoda

Definicja

Wstawia element Int32 do określonej lokalizacji w kolekcji.

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

Parametry

index
Int32

Pozycja indeksu Int32 , w której jest wstawiona wartość .

value
Int32

Element Int32 do wstawienia w kolekcji.

Implementuje

Wyjątki

index nie jest prawidłowym indeksem w pliku Int32Collection.

Element Int32Collection jest tylko do odczytu.

-lub- Element Int32Collection ma stały rozmiar.

Dotyczy

Zobacz też