NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ArrayList.Remove

Removes a specific object from the ArrayList.

[Visual Basic]
Overridable Public Sub Remove( _
   ByVal obj As Object _
)
[C#]
public virtual void Remove(
   object obj
);
[C++]
public: virtual void Remove(
   Object* obj
);
[JScript]
public function Remove(
   obj : Object
);

Parameters

obj
The Object to remove from the ArrayList.

Return Value

None.

Exceptions

Exception Type Condition
ArgumentException obj is not found in the ArrayList.
NotSupportedException The ArrayList is read-only.

-or-

The ArrayList has a fixed size.

Remarks

This method can be overridden by a derived class.

See Also

ArrayList Class | ArrayList Members | System.Collections Namespace