Redigera

Dela via


Int32Collection.Item[Int32] Property

Definition

Gets or sets the Int32 at the specified index position.

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 zero-based index of the Int32 to get or set.

Property Value

The Int32 at the specified index.

Implements

Exceptions

index is less than zero.

-or-

index is equal to or greater than the Count.

Applies to