ActivityTagsCollection.CopyTo 方法

定义

从特定的数组索引开始,将集合的元素复制到数组中。

public:
 virtual void CopyTo(cli::array <System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> ^ array, int arrayIndex);
public void CopyTo (System.Collections.Generic.KeyValuePair<string,object>[] array, int arrayIndex);
abstract member CopyTo : System.Collections.Generic.KeyValuePair<string, obj>[] * int -> unit
override this.CopyTo : System.Collections.Generic.KeyValuePair<string, obj>[] * int -> unit
Public Sub CopyTo (array As KeyValuePair(Of String, Object)(), arrayIndex As Integer)

参数

array
KeyValuePair<String,Object>[]

作为集合中元素的复制目标位置的数组。

arrayIndex
Int32

数组中从零开始的索引,在此处开始复制。

实现

适用于