ListBox.IntegerCollection.Item[Int32] Propriété

Définition

Obtient ou définit l’élément à l’index spécifié.

public:
 property int default[int] { int get(int index); void set(int index, int value); };
public int this[int index] { get; set; }
member this.Item(int) : int with get, set
Default Public Property Item(index As Integer) As Integer

Paramètres

index
Int32

Position de l’élément dans la collection.

Valeur de propriété

Élément à l’index spécifié.

Exceptions

.NET 5 et versions ultérieures : index est hors limites.

S’applique à