Sdílet prostřednictvím


IList.ListIterator Method

Definition

Overloads

ListIterator()

Returns a list iterator over the elements in this list (in proper sequence).

ListIterator(Int32)

Returns a list iterator over the elements in this list (in proper sequence), starting at the specified position in the list.

ListIterator()

Returns a list iterator over the elements in this list (in proper sequence).

[Android.Runtime.Register("listIterator", "()Ljava/util/ListIterator;", "GetListIteratorHandler:Java.Util.IListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Util.IListIterator ListIterator ();
[<Android.Runtime.Register("listIterator", "()Ljava/util/ListIterator;", "GetListIteratorHandler:Java.Util.IListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member ListIterator : unit -> Java.Util.IListIterator

Returns

a list iterator over the elements in this list (in proper sequence)

Attributes

Remarks

Returns a list iterator over the elements in this list (in proper sequence).

Java documentation for java.util.List.listIterator().

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.

See also

Applies to

ListIterator(Int32)

Returns a list iterator over the elements in this list (in proper sequence), starting at the specified position in the list.

[Android.Runtime.Register("listIterator", "(I)Ljava/util/ListIterator;", "GetListIterator_IHandler:Java.Util.IListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Util.IListIterator ListIterator (int index);
[<Android.Runtime.Register("listIterator", "(I)Ljava/util/ListIterator;", "GetListIterator_IHandler:Java.Util.IListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member ListIterator : int -> Java.Util.IListIterator

Parameters

index
Int32

index of the first element to be returned from the list iterator (by a call to ListIterator#next next)

Returns

a list iterator over the elements in this list (in proper sequence), starting at the specified position in the list

Attributes

Exceptions

if location size()

Remarks

Returns a list iterator over the elements in this list (in proper sequence), starting at the specified position in the list. The specified index indicates the first element that would be returned by an initial call to ListIterator#next next. An initial call to ListIterator#previous previous would return the element with the specified index minus one.

Java documentation for java.util.List.listIterator(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.

See also

Applies to