Collection.IList.Item[Int32] Propiedad

Definición

Obtiene o establece el elemento en el índice especificado.

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

Parámetros

Indexindex
Int32

Índice de base cero del elemento que se va a obtener o establecer.

Valor de propiedad

Elemento en el índice especificado.

Excepciones

index no es un índice válido en el Collection objeto .

La propiedad se establece y el Collection objeto es de solo lectura.

Se aplica a