Method CopyTo
CopyTo(KeyValuePair<String, TValue>[], Int32)
Copies all items in the current dictionary the array
starting at the arrayIndex
.
The array is assumed to already be dimensioned to fit the elements in this dictionary; otherwise a System.ArgumentOutOfRangeException
will be thrown.
Declaration
public virtual void CopyTo(KeyValuePair<string, TValue>[] array, int arrayIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.KeyValuePair<System.String, TValue>[] | array | The array to copy the items into. |
System.Int32 | arrayIndex | A 32-bit integer that represents the index in |
Implements
System.Collections.Generic.ICollection<T>.CopyTo(T[], System.Int32)
CopyTo(CharArrayMap<TValue>)
Copies all items in the current CharArrayMap<TValue> to the passed in CharArrayMap<TValue>.
Declaration
public virtual void CopyTo(CharArrayMap<TValue> map)
Parameters
Type | Name | Description |
---|---|---|
CharArrayMap<TValue> | map |