Freigeben über


BaseBundle.PutInt(String, Int32) Method

Definition

Inserts an int value into the mapping of this Bundle, replacing any existing value for the given key.

[Android.Runtime.Register("putInt", "(Ljava/lang/String;I)V", "GetPutInt_Ljava_lang_String_IHandler")]
public virtual void PutInt (string? key, int value);
[<Android.Runtime.Register("putInt", "(Ljava/lang/String;I)V", "GetPutInt_Ljava_lang_String_IHandler")>]
abstract member PutInt : string * int -> unit
override this.PutInt : string * int -> unit

Parameters

key
String

a String, or null

value
Int32

an int

Attributes

Remarks

Inserts an int value into the mapping of this Bundle, replacing any existing value for the given key.

Java documentation for android.os.BaseBundle.putInt(java.lang.String, 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