Java.Util.IMap.Clear Method
Removes all elements from this Map, leaving it empty.

Syntax

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

See Also

IMap.IsEmpty
IMap.Size

Exceptions

TypeReason
Java.Lang.UnsupportedOperationExceptionif removing elements from this Map is not supported.

Remarks

Removes all elements from this Map, 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