System::Collections::Generic::List::CopyTo メソッド
コンテンツ
[
隠れる
]List::CopyTo(const System::ArrayPtr<T>&) method
すべての要素を既存の配列要素にコピーします。
void System::Collections::Generic::List<T>::CopyTo(const System::ArrayPtr<T> &array)
| パラメーター | 型 | 説明 |
|---|---|---|
| array | const System::ArrayPtr<T>& | Array に要素をコピーします。 |
参照
- Typedef ArrayPtr
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Page for C++
List::CopyTo(int, const System::ArrayPtr<T>&, int, int) method
指定されたインデックスから始まる要素を既存の配列要素にコピーします。
void System::Collections::Generic::List<T>::CopyTo(int index, const System::ArrayPtr<T> &array, int arrayIndex, int count)
| パラメーター | 型 | 説明 |
|---|---|---|
| インデックス | int | 現在のオブジェクトが表すリスト内の要素の、コピー開始位置を示す 0 ベースのインデックス |
| array | const System::ArrayPtr<T>& | Array に要素をコピーします。 |
| arrayIndex | int | 宛先配列の開始位置。 |
| count | int | コピーする要素数。 |
参照
- Typedef ArrayPtr
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Page for C++
List::CopyTo(System::ArrayPtr<T>, int) method
リスト要素を既存の配列要素にコピーします。
void System::Collections::Generic::List<T>::CopyTo(System::ArrayPtr<T> array, int arrayIndex) override
| パラメーター | 型 | 説明 |
|---|---|---|
| 配列 | System::ArrayPtr<T> | 宛先配列。 |
| arrayIndex | int | 宛先配列の開始インデックス。 |
参照
- Typedef ArrayPtr
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Page for C++