This method removes the element from the head of the list. This method returns the item that was removed.
You must ensure that the list is not empty before calling RemoveHead. If the list is empty, then the Debug version of the MFC for Windows CE asserts. Use CTypedPtrList::IsEmpty to verify that the list contains elements.
Header file: | Afxtempl.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
TYPE RemoveHead( );
CTypedPtrList::RemoveTail, CPtrList::IsEmpty, CPtrList::GetHead, CPtrList::AddHead