Partager via


ISequencedCollection.RemoveFirst Method

Definition

Removes and returns the first element of this collection (optional operation).

[Android.Runtime.Register("removeFirst", "()Ljava/lang/Object;", "GetRemoveFirstHandler:Java.Util.ISequencedCollection, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)]
public virtual Java.Lang.Object? RemoveFirst ();
[<Android.Runtime.Register("removeFirst", "()Ljava/lang/Object;", "GetRemoveFirstHandler:Java.Util.ISequencedCollection, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)>]
abstract member RemoveFirst : unit -> Java.Lang.Object
override this.RemoveFirst : unit -> Java.Lang.Object

Returns

the removed element

Attributes

Remarks

Removes and returns the first element of this collection (optional operation).

Java documentation for java.util.SequencedCollection.removeFirst().

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