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.RemoveAt

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
);

Parameters

index
The index of the element to remove.

Return Value

None.

Exceptions

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.

Remarks

This method can be overridden by a derived class.

See Also

ArrayList Class | ArrayList Members | System.Collections Namespace