Compartir a través de


SparseLongArray.Put(Int32, Int64) Method

Definition

Adds a mapping from the specified key to the specified value, replacing the previous mapping from the specified key if there was one.

[Android.Runtime.Register("put", "(IJ)V", "GetPut_IJHandler")]
public virtual void Put (int key, long value);
[<Android.Runtime.Register("put", "(IJ)V", "GetPut_IJHandler")>]
abstract member Put : int * int64 -> unit
override this.Put : int * int64 -> unit

Parameters

key
Int32
value
Int64
Attributes

Remarks

Adds a mapping from the specified key to the specified value, replacing the previous mapping from the specified key if there was one.

Java documentation for android.util.SparseLongArray.put(int, long).

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