Dart.PowerTCP.Zip Namespace > Archive Class : RemoveRange Method |
<DescriptionAttribute("To remove some items from the collection at a given range of indices. ")> Public Sub RemoveRange( _ ByVal index As Integer, _ ByVal count As Integer _ )
Dim instance As Archive Dim index As Integer Dim count As Integer instance.RemoveRange(index, count)
[Description("To remove some items from the collection at a given range of indices. ")] public void RemoveRange( int index, int count )
[Description("To remove some items from the collection at a given range of indices. ")] public: void RemoveRange( int index, int count )
[Description("To remove some items from the collection at a given range of indices. ")] public: void RemoveRange( int index, int count )
Exception | Description |
---|---|
System.ArgumentOutOfRangeException | Index is less than zero. |
System.ArgumentException | array is multidimensional. |
System.NotSupportedException | The ArrayList is read-only. |
In collections of contiguous elements, such as lists, the elements that follow the removed element move up to occupy the vacated spot. If the collection is indexed, the indexes of the elements that are moved are also updated. This behavior does not apply to collections where elements are conceptually grouped into buckets, such as a hashtable.