CHStringArray::GetUpperBound method

[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(

);

Parameters

This method has no parameters.

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

   
Windows version Windows Vista 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