CHStringArray::ElementAt(int) 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 ElementAt method returns a temporary reference to the element pointer within the array.
CHString & ElementAt( int nIndex );
An integer index that is greater than or equal to zero and less than or equal to the value returned by GetUpperBound.
Use the ElementAt method to implement the left-side assignment operator for arrays. This is an advanced method, which you should use only to implement special array operators.
See the example for CHStringArray::GetSize.
|Minimum supported client||Windows Vista|
|Minimum supported server||Windows Server 2008|
|Header||chstrarr.h (include FwCommon.h)|