CArray::GetUpperBound

int GetUpperBound( ) const;

Remarks

Returns the current upper bound of this array. Because array indexes are zero-based, this function returns a value 1 less than GetSize.

The condition GetUpperBound( ) = –1 indicates that the array contains no elements.

CArray OverviewClass MembersHierarchy Chart

See Also   CArray::GetSize, CArray::SetSize