Udostępnij za pośrednictwem


Attributes.ContainsKey(Object) Method

Definition

Returns true if this Map contains the specified attribute name (key).

[Android.Runtime.Register("containsKey", "(Ljava/lang/Object;)Z", "GetContainsKey_Ljava_lang_Object_Handler")]
public virtual bool ContainsKey (Java.Lang.Object? name);
[<Android.Runtime.Register("containsKey", "(Ljava/lang/Object;)Z", "GetContainsKey_Ljava_lang_Object_Handler")>]
abstract member ContainsKey : Java.Lang.Object -> bool
override this.ContainsKey : Java.Lang.Object -> bool

Parameters

name
Object

the attribute name

Returns

true if this Map contains the specified attribute name

Attributes

Remarks

Returns true if this Map contains the specified attribute name (key).

Java documentation for java.util.jar.Attributes.containsKey(java.lang.Object).

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