Condividi tramite


ContentValues.ContainsKey(String) Method

Definition

Returns true if this object has the named value.

[Android.Runtime.Register("containsKey", "(Ljava/lang/String;)Z", "")]
public bool ContainsKey (string? key);
[<Android.Runtime.Register("containsKey", "(Ljava/lang/String;)Z", "")>]
member this.ContainsKey : string -> bool

Parameters

key
String

the value to check for

Returns

true if the value is present, false otherwise

Attributes

Remarks

Returns true if this object has the named value.

Java documentation for android.content.ContentValues.containsKey(java.lang.String).

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