- Capacity
- Count
- Contains
- TrimExcess
- TryGetValue
- TrySetValue
- Add
- AddRange
- Insert
- InsertRange
- CopyTo
- BinarySearch
- IndexOf
- LastIndexOf
- Clear
- Remove
- RemoveAt
- RemoveRange
- Reverse
- Sort
InsertRange
将元素集或元素数组插入到指定索引的列表中。
插入数组的版本。
bool InsertRange(
|
插入集合的版本。
bool InsertRange(
|
参数
index
[in] 要插入的索引位置。
&array[]
[in]要在指定索引位置插入的数组。
*collection
[in] 要在指定索引位置插入的集合。
返回值
成功返回true,否则返回false。