IndexingParametersConfiguration.ICollection<KeyValuePair<String,Object>>.CopyTo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>[] destination, int offset);
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 (destination As KeyValuePair(Of String, Object)(), offset As Integer) Implements ICollection(Of KeyValuePair(Of String, Object)).CopyTo
Parameters
- destination
- KeyValuePair<String,Object>[]
- offset
- 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
.