ISequencedCollection.AddFirst(Object) 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.
Adds an element as the first element of this collection (optional operation).
[Android.Runtime.Register("addFirst", "(Ljava/lang/Object;)V", "GetAddFirst_Ljava_lang_Object_Handler:Java.Util.ISequencedCollection, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)]
public virtual void AddFirst (Java.Lang.Object? e);
[<Android.Runtime.Register("addFirst", "(Ljava/lang/Object;)V", "GetAddFirst_Ljava_lang_Object_Handler:Java.Util.ISequencedCollection, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)>]
abstract member AddFirst : Java.Lang.Object -> unit
override this.AddFirst : Java.Lang.Object -> unit
Parameters
- e
- Object
the element to be added
- Attributes
Remarks
Adds an element as the first element of this collection (optional operation). After this operation completes normally, the given element will be a member of this collection, and it will be the first element in encounter order.
Java documentation for java.util.SequencedCollection.addFirst(E)
.
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.