Condividi tramite


SparseArray.Delete(Int32) Method

Definition

Removes the mapping from the specified key, if there was any.

[Android.Runtime.Register("delete", "(I)V", "GetDelete_IHandler")]
public virtual void Delete (int key);
[<Android.Runtime.Register("delete", "(I)V", "GetDelete_IHandler")>]
abstract member Delete : int -> unit
override this.Delete : int -> unit

Parameters

key
Int32
Attributes

Remarks

Removes the mapping from the specified key, if there was any.

Java documentation for android.util.SparseArray.delete(int).

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