PathSegmentCollection.Insert(Int32, PathSegment) Metoda

Definice

Vloží do PathSegment tohoto PathSegmentCollection objektu v zadaném indexu.

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

Parametry

index
Int32

Index, na který se má vložit value, zadaný PathSegment.

value
PathSegment

Položka ke vložení.

Implementuje

Výjimky

value je null.

index není platný index v souboru PathSegmentCollection.

Je PathSegmentCollection jen pro čtení.

-nebo- Má PathSegmentCollection pevnou velikost.

Poznámky

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

Platí pro

Viz také