Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Removes the IList item at the specified index.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
Private Sub RemoveAt ( _
index As Integer _
) Implements IList.RemoveAt
void IList.RemoveAt(
int index
)
private:
virtual void RemoveAt(
int index
) sealed = IList::RemoveAt
private abstract RemoveAt :
index:int -> unit
private override RemoveAt :
index:int -> unit
JScript does not support explicit interface implementations.
Parameters
- index
Type: System. . :: . .Int32
The index of the element to remove.
Implements
IList. . :: . .RemoveAt(Int32)
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | index is not a valid index in the IList. |
NotSupportedException | The IList is read-only. -or- The IList has a fixed size. |
Remarks
This member is an explicit interface member implementation. It can be used only when the Array instance is cast to an IList interface.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.