Vector.ElementAt(Int32) Method
Definition
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
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.