Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CAtlArray::GetCount

 

Call this method to return the number of elements stored in the array.


size_t GetCount( ) const throw( );

Returns the number of elements stored in the array.

As the first element in the array is at position 0, the value returned by GetCount is always 1 greater than the largest index.

Example

See the example for CAtlArray::GetAt.

Requirements

Header: atlcoll.h

Show: