共用方式為


Bundle.PutCharSequence Method

Definition

Overloads

PutCharSequence(String, ICharSequence)

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

PutCharSequence(String, String)

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

PutCharSequence(String, ICharSequence)

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

[Android.Runtime.Register("putCharSequence", "(Ljava/lang/String;Ljava/lang/CharSequence;)V", "")]
public void PutCharSequence (string? key, Java.Lang.ICharSequence? value);
[<Android.Runtime.Register("putCharSequence", "(Ljava/lang/String;Ljava/lang/CharSequence;)V", "")>]
member this.PutCharSequence : string * Java.Lang.ICharSequence -> unit

Parameters

key
String

a String, or null

value
ICharSequence

a CharSequence, or null

Attributes

Remarks

Inserts a CharSequence value into the mapping of this Bundle, replacing any existing value for the given key. Either key or value may be null.

Java documentation for android.os.Bundle.putCharSequence(java.lang.String, java.lang.CharSequence).

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

PutCharSequence(String, String)

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

public void PutCharSequence (string? key, string? value);
member this.PutCharSequence : string * string -> unit

Parameters

key
String

a String, or null

value
String

a CharSequence, or null

Remarks

Inserts a CharSequence value into the mapping of this Bundle, replacing any existing value for the given key. Either key or value may be null.

Java documentation for android.os.Bundle.putCharSequence(java.lang.String, java.lang.CharSequence).

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