CHStringArray::GetData 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 GetData method gains direct access to the elements in the array.

Syntax

const CHString * GetData();

Return value

If the GetData method is successful, it returns a pointer to the array of CHString pointers.

Remarks

If no elements are available, GetData returns a NULL value.

Although direct access to the elements of an array can help you work more quickly, use caution when calling GetData. Any errors you make directly affect the elements of your array.

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::ElementAt

CHStringArray::FreeExtra

CHStringArray::GetAt

CHStringArray::SetAt

CHStringArray::SetSize