Επεξεργασία

Κοινή χρήση μέσω


ListBox.IntegerCollection.Item[Int32] Property

Definition

Gets or sets the element at the specified index.

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

Parameters

index
Int32

The position of the element in the collection.

Property Value

The element at the specified index.

Exceptions

.NET 5 and later: index is out of range.

Applies to