Partager via


SparseArray<E>.ValueAt(Int32) Method

Definition

Given an index in the range 0...size()-1, returns the value from the indexth key-value mapping that this SparseArray stores.

[Android.Runtime.Register("valueAt", "(I)Ljava/lang/Object;", "")]
public virtual E ValueAt (int index);
[<Android.Runtime.Register("valueAt", "(I)Ljava/lang/Object;", "")>]
override this.ValueAt : int -> 'E

Parameters

index
Int32

Returns

E
Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to