CHStringArray::InsertAt(int,LPCWSTR,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 InsertAt method inserts an element (or multiple copies of an element) or all the elements of another array at a specified index.

Overload list

Method Description
InsertAt(int,LPCWSTR,int) Inserts one or more elements at a specified index in an array.
InsertAt(int,CHStringArray*) Inserts all the elements of another CHStringArray at a specified index in an array.

Syntax

void  throw(CHeap_Exception) InsertAt(
  int     nIndex,
  LPCWSTR newElement,
  int     nCount
);

Parameters

nIndex

newElement

nCount

Return value

None

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