다음을 통해 공유


Bundle.PutShort(String, Int16) Method

Definition

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

[Android.Runtime.Register("putShort", "(Ljava/lang/String;S)V", "")]
public void PutShort (string? key, short value);
[<Android.Runtime.Register("putShort", "(Ljava/lang/String;S)V", "")>]
member this.PutShort : string * int16 -> unit

Parameters

key
String

a String, or null

value
Int16

a short

Attributes

Remarks

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

Java documentation for android.os.Bundle.putShort(java.lang.String, short).

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