Udostępnij za pośrednictwem


SearchDocument.ICollection<KeyValuePair<String,Object>>.CopyTo Method

Definition

Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.

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

Parameters

arrayIndex
Int32

Implements

Exceptions

array is null.

arrayIndex is less than 0.

The number of elements in the source ICollection<T> is greater than the available space from arrayIndex to the end of the destination array.

Applies to