CHStringArray::GetUpperBound method (chstrarr.h)

[The CHStringArray class is part of the WMI Provider Framework which is now considered in final state, and no further development, enhancements, or updates will be available for non-security related issues affecting these libraries. The MI APIs should be used for all new development.]

The GetUpperBound method gets the current upper bound of an array. Because array indexes are zero-based, this function returns a value that is one less than GetSize.

Syntax

int GetUpperBound();

Return value

If the GetUpperBound method is successful, it returns the upper bounds of this array. A value of -1 indicates that the array contains no elements.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header chstrarr.h (include FwCommon.h)
Library FrameDyn.lib
DLL FrameDynOS.dll; FrameDyn.dll

See also

CHStringArray

CHStringArray::Add

CHStringArray::GetSize

CHStringArray::SetSize