Partager 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 (
         Objectobj
)

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.

See Also

Reference

Hashtable Class
Hashtable Members
System.Collections Namespace