## List::AddInitializer method


向列表添加元素；在翻译初始化器时使用。

```cpp
void System::Collections::Generic::List<T>::AddInitializer(int size, const T *inits)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| size | int | 要插入的元素数量。 |
| inits | const T * | 要插入的元素。 |

## 另见

* Class [List](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Page for C++](../../../)
