PathSegmentCollection.Insert(Int32, PathSegment) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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.
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).