Partager via


Parcel.WriteList(IList) Method

Definition

Flatten a List into the parcel at the current dataPosition(), growing dataCapacity() if needed.

[Android.Runtime.Register("writeList", "(Ljava/util/List;)V", "")]
public void WriteList (System.Collections.IList? val);
[<Android.Runtime.Register("writeList", "(Ljava/util/List;)V", "")>]
member this.WriteList : System.Collections.IList -> unit

Parameters

val
IList
Attributes

Remarks

Flatten a List into the parcel at the current dataPosition(), growing dataCapacity() if needed. The List values are written using #writeValue and must follow the specification there.

Java documentation for android.os.Parcel.writeList(java.util.List).

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