Sdílet prostřednictvím


ChartElementCollection<T>.InsertItem(Int32, T) Metoda

Definice

Vloží prvek do v Collection<T> zadaném umístění indexu.

protected:
 override void InsertItem(int index, T item);
protected override void InsertItem (int index, T item);
override this.InsertItem : int * 'T -> unit
Protected Overrides Sub InsertItem (index As Integer, item As T)

Parametry

index
Int32

Bude vloženo indexové umístění položky založené na nule.

item
T

Objekt, který se má vložit. Hodnota může být null pro typy odkazů.

Platí pro