CArray::GetUpperBound

This method retrieves the current upper bound of this array. Because array indexes are zero-based, this function returns a value one less than GetSize.

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 GetUpperBound( ) const;

See Also

CArray::GetSize, CArray::SetSize