Vector.ElementAt(Int32) Method

Definition

Returns the component at the specified index.

C#
[Android.Runtime.Register("elementAt", "(I)Ljava/lang/Object;", "GetElementAt_IHandler")]
public virtual Java.Lang.Object? ElementAt (int index);

Parameters

index
Int32

an index into this vector

Returns

the component at the specified index

Attributes

Exceptions

if location = size().

Remarks

Returns the component at the specified index.

This method is identical in functionality to the #get(int) method (which is part of the List interface).

Java documentation for java.util.Vector.elementAt(int).

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

Product Versions
.NET for Android .NET for Android API 34, .NET for Android API 35

See also