PathSegmentCollection.Insert(Int32, PathSegment) Méthode

Définition

Insère un PathSegment élément dans celui-ci PathSegmentCollection à l’index spécifié.

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)

Paramètres

index
Int32

Index auquel insérer value, spécifié PathSegment.

value
PathSegment

Élément à insérer.

Implémente

Exceptions

value a la valeur null.

index n’est pas un index valide dans le PathSegmentCollection.

Il PathSegmentCollection est en lecture seule.

- ou -

La PathSegmentCollection taille est fixe.

Remarques

Contrairement aux implémentations classiques de IList<T>.Insert, cette implémentation lève une ArgumentException référence si vous tentez d’insérer une référence Null (Nothing).

S’applique à

Voir aussi