Version: 2023.1
public void CopyTo (FieldInfo[] array, int arrayIndex);
public void CopyTo (Array array, int arrayIndex);

参数

array The one-dimensional destination array that the elements from FieldInfoCollection are copied to.
arrayIndex The zero-based index where elements are copied to in the destination array.

描述

将集合复制到一个数组。

The destination array should contain enough space to fit the collection. The destination array must be of type FieldInfo[].