Partager via


CTypedPtrArray::SetAt

This member function calls BASE_CLASS**::SetAt**.

void SetAt( 
   INT_PTR nIndex, 
   TYPE ptr  
);

Parameters

  • nIndex
    An integer index that is greater than or equal to 0 and less than or equal to the value returned by CObArray::GetUpperBound.

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

  • ptr
    A pointer to the element to be inserted in the array at the nIndex. A NULL value is allowed.

Remarks

For more detailed remarks, see CObArray::SetAt.

Requirements

Header: afxtempl.h

See Also

Reference

CTypedPtrArray Class

Hierarchy Chart

Other Resources

CTypedPtrArray Members