Click or drag to resize
ArrayListRemove Method
Removes the first occurrence of a specific object from the ArrayList.

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public virtual void Remove(
	Object obj
)

Parameters

obj
Type: SystemObject
The Object to remove from the ArrayList. The value can be null.

Implements

IListRemove(Object)
Exceptions
ExceptionCondition
NotSupportedExceptionThe ArrayList is read-only.-or- The ArrayList has a fixed size.
See Also