ImmutableArray<T>.Builder.CopyTo(T[], Int32) 方法
定义
将当前内容复制到指定的数组。Copies the current contents to the specified array.
public:
virtual void CopyTo(cli::array <T> ^ array, int index);
public void CopyTo (T[] array, int index);
abstract member CopyTo : 'T[] * int -> unit
override this.CopyTo : 'T[] * int -> unit
Public Sub CopyTo (array As T(), index As Integer)
参数
- array
- T[]
要复制到的数组。The array to copy to.
- index
- Int32
开始复制操作的索引。The index to start the copy operation.