Compartilhar via


IListIterator.Remove Method

Definition

Removes from the list the last element that was returned by #next or #previous (optional operation).

[Android.Runtime.Register("remove", "()V", "GetRemoveHandler:Java.Util.IListIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Remove ();
[<Android.Runtime.Register("remove", "()V", "GetRemoveHandler:Java.Util.IListIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Remove : unit -> unit

Implements

Attributes

Exceptions

if removing is not supported by the list being iterated.

if next or previous have not been called, or remove or add have already been called after the last call to next or previous.

Remarks

Removes from the list the last element that was returned by #next or #previous (optional operation). This call can only be made once per call to next or previous. It can be made only if #add has not been called after the last call to next or previous.

Java documentation for java.util.ListIterator.remove().

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