Compartilhar via


Bundle.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", "")]
public override void PutInt (string? key, int value);
[<Android.Runtime.Register("putInt", "(Ljava/lang/String;I)V", "")>]
override this.PutInt : string * int -> unit

Parameters

key
String

a String, or null

value
Int32

an int, or null

Attributes

Remarks

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