Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Array.IList.RemoveAt Method

.NET Framework 1.1

Implements IList.RemoveAt. Always throws NotSupportedException.

[Visual Basic]
Private Sub RemoveAt( _
   ByVal index As Integer _
) Implements IList.RemoveAt
[C#]
void IList.RemoveAt(
   int index
);
[C++]
private: void IList::RemoveAt(
 int index
);
[JScript]
private function IList.RemoveAt(
   index : int
);

Parameters

index
The index of the element to remove.

Implements

IList.RemoveAt

Exceptions

Exception Type Condition
NotSupportedException Always thrown.

Remarks

Array has a fixed size; therefore, elements cannot be added or removed. Use SetValue to change the value of an existing element.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Common Language Infrastructure (CLI) Standard

See Also

Array Class | Array Members | System Namespace | SetValue

Show:
© 2015 Microsoft