CGenericList.AddAfter method

The AddAfter method inserts an item after the specified position.

Syntax


POSITION AddAfter(
   POSITION p,
   OBJECT   *pObj
);

Parameters

p

Position after which to add the item. If p is NULL, the method adds the item to the head of the list.

pObj

Pointer to an object of type OBJECT (the template type).

Return value

Returns the position indicator of the inserted item.

Requirements

Header

Wxlist.h (include Streams.h)

Library

Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)

See also

CGenericList Class

 

 

Show: