CHStringArray::GetSize 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 GetSize method gets the size of the array. Because indexes are zero-based, the size is one greater than the largest index.

Syntax


int GetSize();

Parameters

This method has no parameters.

Return value

If the GetSize method is successful, it returns the number of elements in the array.

Examples

See the example for CHStringArray::GetData.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

ChStrArr.h (include FwCommon.h)

Library

FrameDyn.lib

DLL

FrameDynOS.dll;
FrameDyn.dll

See also

CHStringArray
CHStringArray::Add
CHStringArray::GetUpperBound
CHStringArray::SetSize

 

 

Show: