Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

See the example for CAtlArray::GetAt.

Header: atlcoll.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.