| nIndex | 可以比GetUpperBound返回值大的整数索引。 |
| newElement | 该数组中被安置的CObject指针。newElement值允许为NULL。 |
| nCount | 该元素被插入的次数(缺省值为1)。 |
| nStartIndex | 可以比GetUpperBound返回值大的整数索引。 |
| pNewArray | 包含添加到该数组元素的另一个数组。 |
| 类 | 成员函数 |
| CByteArray | void InsertAt( int nIndex, BYTE newElement, int nCount= 1 ); throw( CMemoryException ); void InsertAt( int nStartIndex, CByteArray* pNewArray ); throw( CMemoryException ); |
| CDWordArray | void InsertAt( int nIndex, DWORD newElement, int nCount = 1 ); throw( CMemoryException ); void InsertAt( int nStartIndex, CDWordArray*pNewArray ); throw( CMemoryException ); |
| CPtrArray | void InsertAt( int nIndex, void* newElement, int nCount = 1 ); throw( CMemoryException ); void InsertAt( int nStartIndex, CPtrArray* pNewArray ); throw( CMemoryException ); |
| CStringArray | void InsertAt( int nIndex, LPCTSTR newElement, int nCount = 1 ); throw( CMemoryException ); void InsertAt(int nStartIndex, CStringArray* pNewArray); throw( CMemoryException); |
| CUIntArray | void InsertAt(int nIndex,UINT newElement,int nCount =1); throw( CMemoryException); void InsertAt( int nStartIndex, CUIntArray* pNewArray); throw( CMemoryException); |
| CWordArray | void InsertAt(int nIndex,WORD newElement,int nCount= 1); throw( CMemoryException); void InsertAt(int nStartIndex, CwordArray* pNewArray); throw( CMemoryException); |