CTypedPtrList::GetPrev

This method retrieves the list element identified by rPosition, and then sets rPosition to the POSITION value of the previous entry in the list.

At a Glance

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

Syntax

TYPE& GetPrev(POSITION& rPosition );

TYPE GetPrev( POSITION& rPosition ) const;

See Also

CPtrList::Find, CPtrList::GetTailPosition, CPtrList::GetHeadPosition, CTypedPtrList::GetNext, CTypedPtrList::GetHead, CTypedPtrList::GetTail