Partager via


ResourceBundle.ContainsKey(String) Method

Definition

Determines whether the given key is contained in this ResourceBundle or its parent bundles.

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

Parameters

key
String

the resource key

Returns

true if the given key is contained in this ResourceBundle or its parent bundles; false otherwise.

Attributes

Remarks

Determines whether the given key is contained in this ResourceBundle or its parent bundles.

Added in 1.6.

Java documentation for java.util.ResourceBundle.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