System::Collections::Generic::List::ToArray 方法

List::ToArray method

将列表转换为数组。

ArrayPtr<T> System::Collections::Generic::List<T>::ToArray() const

ReturnValue

新创建的数组,包含所有元素的副本。

另见