Bundle.GetChar Bundle.GetChar Method

Definition

Overloads

GetChar(String) GetChar(String)

Returns the value associated with the given key, or (char) 0 if no mapping of the desired type exists for the given key.

GetChar(String, Char) GetChar(String, Char)

Returns the value associated with the given key, or defaultValue if no mapping of the desired type exists for the given key.

GetChar(String) GetChar(String)

Returns the value associated with the given key, or (char) 0 if no mapping of the desired type exists for the given key.

[Android.Runtime.Register("getChar", "(Ljava/lang/String;)C", "")]
public char GetChar (string key);
member this.GetChar : string -> char

Parameters

key
String String

a String

Returns

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.

GetChar(String, Char) GetChar(String, Char)

Returns the value associated with the given key, or defaultValue if no mapping of the desired type exists for the given key.

[Android.Runtime.Register("getChar", "(Ljava/lang/String;C)C", "")]
public char GetChar (string key, char defaultValue);
member this.GetChar : string * char -> char

Parameters

key
String String

a String

defaultValue
Char Char

Value to return if key does not exist

Returns

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