Vector.ElementAt(Int32) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the component at the specified index.
[Android.Runtime.Register("elementAt", "(I)Ljava/lang/Object;", "GetElementAt_IHandler")]
public virtual Java.Lang.Object? ElementAt (int index);
[<Android.Runtime.Register("elementAt", "(I)Ljava/lang/Object;", "GetElementAt_IHandler")>]
abstract member ElementAt : int -> Java.Lang.Object
override this.ElementAt : int -> Java.Lang.Object
- index
- Int32
an index into this vector
the component at the specified index
- Attributes
if location = size()
.
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.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |