Collection.IList.Item[Int32] Proprietà

Definizione

Ottiene o imposta l'elemento in corrispondenza dell'indice specificato.

property System::Object ^ System::Collections::IList::Item[int] { System::Object ^ get(int Index); void set(int Index, System::Object ^ value); };
property System::Object ^ System::Collections::IList::Item[int] { System::Object ^ get(int index); void set(int index, System::Object ^ value); };
object System.Collections.IList.Item[int Index] { get; set; }
object System.Collections.IList.Item[int index] { get; set; }
member this.System.Collections.IList.Item(int) : obj with get, set
 Property IListItem(Index As Integer) As Object Implements IList.Item
 Property IListItem(index As Integer) As Object Implements IList.Item

Parametri

indexIndex
Int32

Indice in base zero dell'elemento da ottenere o impostare.

Valore della proprietà

Elemento in corrispondenza dell'indice specificato.

Eccezioni

index non è un indice valido nell'oggetto Collection.

La proprietà è impostata e l'oggetto Collection è in sola lettura.

Si applica a