共用方式為


CTypedPtrArray::Add

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

INT_PTR Add( 
   TYPE newElement  
);

Parameters

  • TYPE
    Template parameter specifying the type of element to be added to the array.

  • newElement
    The element to be added to this array.

Return Value

The index of the added element.

Remarks

For more detailed remarks, see CObArray::Add.

Requirements

Header: afxtempl.h

See Also

Reference

CTypedPtrArray Class

Hierarchy Chart

Other Resources

CTypedPtrArray Members