Share via


ContentValues.GetAsBoolean(String) Method

Definition

Gets a value and converts it to a Boolean.

[Android.Runtime.Register("getAsBoolean", "(Ljava/lang/String;)Ljava/lang/Boolean;", "")]
public bool GetAsBoolean (string key);
[<Android.Runtime.Register("getAsBoolean", "(Ljava/lang/String;)Ljava/lang/Boolean;", "")>]
member this.GetAsBoolean : string -> bool

Parameters

key
String

the value to get

Returns

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