Microsoft DirectX 9.0

CGenericList::Remove

The Remove method removes the item at the specified position.

Syntax

OBJECT *Remove(
    POSITION pos
);

Parameters

pos

POSITION value indicating the item to remove.

Return Value

Returns a pointer to an object of type OBJECT (the template type).

Remarks

This method deletes the node from the list, but does not delete the item contained in that node.

If pos is NULL, the method returns NULL.

See Also