共用方式為


SparseArray.Clear Method

Definition

Removes all key-value mappings from this SparseArray.

[Android.Runtime.Register("clear", "()V", "GetClearHandler")]
public virtual void Clear ();
[<Android.Runtime.Register("clear", "()V", "GetClearHandler")>]
abstract member Clear : unit -> unit
override this.Clear : unit -> unit
Attributes

Remarks

Removes all key-value mappings from this SparseArray.

Java documentation for android.util.SparseArray.clear().

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