IListIterator.PreviousIndex 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 index of the element that would be returned by a
subsequent call to #previous
.
[Android.Runtime.Register("previousIndex", "()I", "GetPreviousIndexHandler:Java.Util.IListIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public int PreviousIndex ();
[<Android.Runtime.Register("previousIndex", "()I", "GetPreviousIndexHandler:Java.Util.IListIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member PreviousIndex : unit -> int
Returns
the index of the element that would be returned by a
subsequent call to previous
, or -1 if the list
iterator is at the beginning of the list
- Attributes
Exceptions
if there are no previous elements.
Remarks
Returns the index of the element that would be returned by a subsequent call to #previous
. (Returns -1 if the list iterator is at the beginning of the list.)
Java documentation for java.util.ListIterator.previousIndex()
.
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.