PathFigureCollection.Insert(Int32, PathFigure) Metoda

Definice

Vloží do PathFigure konkrétního umístění v kolekci.

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

Parametry

index
Int32

Pozice indexu PathFigure , do které se vloží.

value
PathFigure

Objekt PathFigure , který chcete vložit do kolekce.

Implementuje

Výjimky

value je null.

index není platný index v souboru PathFigureCollection.

Jedná se PathFigureCollection o jen pro čtení.

-nebo- Má PathFigureCollection pevnou velikost.

Poznámky

Na rozdíl od typických IList<T>.Insertimplementací tato implementace vyvolá ArgumentException , pokud se pokusíte vložit odkaz null (Nothing).

Platí pro

Viz také