Java.Util.IList.Clear Method
Removes all elements from this List, leaving it empty.

Syntax

[Android.Runtime.Register("clear", "()V", "GetClearHandler:Java.Util.IListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Clear ()

See Also

IList.IsEmpty
IList.Size

Exceptions

TypeReason
Java.Lang.UnsupportedOperationExceptionif removing from this List is not supported.

Remarks

Removes all elements from this List, leaving it empty.

[Android Documentation]

Requirements

Namespace: Java.Util
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1