Android Guides | Samples

Android.OS.BaseBundle.PutInt Method

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

Syntax

[Android.Runtime.Register("putInt", "(Ljava/lang/String;I)V", "GetPutInt_Ljava_lang_String_IHandler")]
public virtual Void PutInt (String key, Int32 value)

Parameters

key
a String, or null
value
an int

Remarks

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

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0