Dela via


IList.Size Method

Definition

Returns the number of elements in this list.

[Android.Runtime.Register("size", "()I", "GetSizeHandler:Java.Util.IListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public int Size ();
[<Android.Runtime.Register("size", "()I", "GetSizeHandler:Java.Util.IListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Size : unit -> int

Returns

the number of elements in this list

Implements

Attributes

Remarks

Returns the number of elements in this list. If this list contains more than Integer.MAX_VALUE elements, returns Integer.MAX_VALUE.

Java documentation for java.util.List.size().

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