IRegion TKey, TValue  CopyTo Method vFabric GemFire .NET Client Documentation
Copies the elements of the ICollection to an Array, starting at a particular Array index. This operation copies entries from local region only.

Namespace: GemStone.GemFire.Cache.Generic
Assembly: GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll) Version:

void CopyTo(
	KeyValuePair<TKey, TValue>[] toArray,
	int startIdx


Type:  OnlineSystem.Collections.Generic KeyValuePair TKey, TValue  
The one-dimensional Array that is the destination of the elements copied from ICollection. The Array must have zero-based indexing.
Type: OnlineSystem Int32
The zero-based index in array at which copying begins.

OnlineSystem ArgumentNullException if toArray is a null reference
OnlineSystem ArgumentOutOfRangeException if startIdx is less than 0.
OnlineSystem ArgumentException if toArray is multidimensional or The number of elements in the source ICollection is greater than the available space from startIdx to the end of the destination array or startIdx is equal to or greater than the length of array.
See Also