Hashtable.ContainsValue(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns true if this hashtable maps one or more keys to this value.
[Android.Runtime.Register("containsValue", "(Ljava/lang/Object;)Z", "GetContainsValue_Ljava_lang_Object_Handler")]
public virtual bool ContainsValue (Java.Lang.Object? value);
[<Android.Runtime.Register("containsValue", "(Ljava/lang/Object;)Z", "GetContainsValue_Ljava_lang_Object_Handler")>]
abstract member ContainsValue : Java.Lang.Object -> bool
override this.ContainsValue : Java.Lang.Object -> bool
Parameters
- value
- Object
value whose presence in this hashtable is to be tested
Returns
true
if this map maps one or more keys to the
specified value
Implements
- Attributes
Remarks
Returns true if this hashtable maps one or more keys to this value.
Note that this method is identical in functionality to #contains contains
(which predates the Map
interface).
Added in 1.2.
Java documentation for java.util.Hashtable.containsValue(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.