## XpsArray::Insert method


在指定位置向数组插入新对象。

```cpp
T Aspose::Page::XPS::XpsModel::XpsArray<T>::Insert(int32_t index, T obj)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 索引 | int32_t | 要插入对象的位置。 |
| obj | T | 要插入的对象。 |

### ReturnValue

已插入的对象。

## 另见

* Class [XpsArray](../)
* Namespace [Aspose::Page::XPS::XpsModel](../../)
* Library [Aspose.Page for C++](../../../)
