PathFigureCollection.Item[Int32] Propriété
Définition
Obtient ou définit le PathFigure à la position d’index spécifiée.Gets or sets the PathFigure at the specified index position.
public:
property System::Windows::Media::PathFigure ^ default[int] { System::Windows::Media::PathFigure ^ get(int index); void set(int index, System::Windows::Media::PathFigure ^ value); };
public System.Windows.Media.PathFigure this[int index] { get; set; }
member this.Item(int) : System.Windows.Media.PathFigure with get, set
Default Public Property Item(index As Integer) As PathFigure
Paramètres
- index
- Int32
Index de base zéro du PathFigure à obtenir ou définir.The zero-based index of the PathFigure to get or set.
Valeur de propriété
PathFigure au niveau de l'index spécifié.The PathFigure at the specified index.
Implémente
Exceptions
value
a la valeur null
.value
is null
.
index
n’est pas un index valide dans PathFigureCollection.index
is not a valid index in the PathFigureCollection.
PathFigureCollection est en lecture seule.The PathFigureCollection is read-only.
- ou --or- PathFigureCollection est de taille fixe.The PathFigureCollection has a fixed size.
Remarques
Contrairement aux implémentations typiques de IList<T>.Item[] , cette implémentation lève une exception ArgumentException si vous tentez d’insérer une référence null (Nothing).Unlike typical implementations of IList<T>.Item[], this implementation throws an ArgumentException if you attempt to insert a null (Nothing) reference.