Removes the element at the specified index of the ArrayList.
[Visual Basic] Overridable Public Sub RemoveAt( _ ByVal index As Integer _ ) [C#] public virtual void RemoveAt( int index ); [C++] public: virtual void RemoveAt( int index ); [JScript] public function RemoveAt( index : int );
None.
Exception Type | Condition |
---|---|
ArgumentOutOfRangeException | index is less than zero.
-or- index is equal to or greater than Count. |
NotSupportedException | The ArrayList is read-only.
-or- The ArrayList has a fixed size. |
This method can be overridden by a derived class.
ArrayList Class | ArrayList Members | System.Collections Namespace