Export (0) Print
Expand All

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

Show:
© 2015 Microsoft