- FreeMode
- FreeMode
- Reserve
- Resize
- Clear
- Shutdown
- CreateElement
- Add
- AddArray
- Insert
- InsertArray
- AssignArray
- Update
- Shift
- Detach
- Delete
- DeleteRange
- At
- CompareArray
- InsertSort
- Search
- SearchGreat
- SearchLess
- SearchGreatOrEqual
- SearchLessOrEqual
- SearchFirst
- SearchLast
- Save
- Load
- Type
DeleteRange
Deletes a group of elements from the specified array position.
bool DeleteRange(
|
Parameters
from
[in] Position of the first array element to be removed.
to
[in] Position of the last array element to be removed.
Return Value
true - successful, false - cannot remove elements.
Note
If the memory management is enabled, the memory of deleted elements is deallocated.
Example:
//--- example for CArrayObj::DeleteRange(int,int)
|