Click or drag to resize
ArrayListContains Method
Determines whether an element is in the ArrayList.

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
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: Boolean
true if item is found in the ArrayList; otherwise, false.
See Also