Compartilhar via


Hashtable.Contains Method

Determines whether an element is in the Hashtable.

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)

Syntax

public virtual bool Contains (
         Object obj
)

Parameters

  • obj
    The object to locate in the Hashtable. This value can be null.

Return Value

true if obj is found in the Hashtable; otherwise, false.

Version Information

Available in the .NET Micro Framework version 4.1 and 4.2.

See Also

Reference

Hashtable Class
Hashtable Members
System.Collections Namespace