This method adds elements to the head of the list. The first implementation adds a new element before the head of the list. The second implementation adds another list of elements before the head.
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 |
POSITION AddHead( TYPE newElement );
void AddHead( CTypedPtrList<BASE_CLASS, TYPE> *pNewList );