Udostępnij za pośrednictwem


ISequencedCollection.GetFirst Method

Definition

Gets the first element of this collection.

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

Returns

the retrieved element

Attributes

Remarks

Gets the first element of this collection.

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

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