Determines whether an element is in the
ArrayList.
Namespace: System.CollectionsAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public virtual bool Contains(
Object item
)
Parameters
- item
- Type: SystemObject
The Object to locate in the ArrayList. The value can be null.
Return Value
Type:
Booleantrue if
item is found in the
ArrayList; otherwise, false.
See Also