CArray::GetUpperBound

intGetUpperBound()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.

Example

See the example for CArray::GetAt.

CArray OverviewClass MembersHierarchy Chart

See Also   CArray::GetSize, CArray::SetSize