CObList::AddHead

Call this member function to add a new element or list of elements to the head of this list. The list can be empty before the operation.

Syntax

POSITION AddHead( CObject* newElement );
throw( CMemoryException );

void AddHead( CObList* pNewList );
throw( CMemoryException );

At a Glance

Header file: Afxcoll.h
Platforms:
Versions: 1.0 and later
Complete documentation: Visual C++ documentation

See Also

CObList Overview, CObList Member Functions, List Classes, CObList::GetHead, CObList::RemoveHead