CArray::GetSize

This method retrieves the size of the array. Since indexes are zero-based, the size is one greater than the largest index.

At a Glance

Header file: Afxtempl.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

int GetSize( ) const;

See Also

CArray::GetUpperBound, CArray::SetSize