IMap.Clear IMap.Clear Method

Definition

Removes all elements from this Map, leaving it empty.

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

Exceptions

if removing elements from this Map is not supported.

Remarks

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

See also