This topic has not yet been rated - Rate this topic

CSimpleArray::RemoveAt

Removes the specified element from the array.

BOOL RemoveAt( 
   int nIndex  
);
nIndex

Index pointing to the element to remove.

Returns TRUE if the element was removed, FALSE if the index was invalid.

When an element is removed, the remaining elements in the array are renumbered to fill the empty space.

Header: atlsimpcoll.h

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.