CObList::AddHead

This method adds a new element or list of elements to the head of this list. The list can be empty before the operation.

At a Glance

Header file: Afxcoll.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

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

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

See Also

CObList::GetHead, CObList::RemoveHead