CTypedPtrArray::InsertAt

void InsertAt( int nIndex, TYPE newElement, int nCount = 1 );

void InsertAt( int nStartIndex, CTypedPtrArray<BASE_CLASS, TYPE>* pNewArray );

Parameters

nIndex

An integer index that may be greater than the value returned by CObArray::GetUpperBound.

TYPE

Type of the elements stored in the base-class array.

newElement

The object pointer to be placed in this array. A newElement of value NULL is allowed.

nCount

The number of times this element should be inserted (defaults to 1).

nStartIndex

An integer index that may be greater than the value returned by CObArray::GetUpperBound.

BASE_CLASS

Base class of the typed pointer array class; must be an array class (CObArray or CPtrArray).

pNewArray

Another array that contains elements to be added to this array.

Remarks

This member function calls BASE_CLASS::InsertAt. For more detailed remarks, see CObArray::InsertAt.

CTypedPtrArray OverviewClass MembersHierarchy Chart