Hashtable: CopyTo

CopyTo

Copies the contents of the table to an array.

 Public Sub CopyTo(
	  ByRef DstArray As Variant,
	  ByVal Index As Long )

Parameters

DstArray
[ByRef] Variant. The array to copy the contents to.
Index
[ByVal] Long. The starting index in dstArray to begin copying to.

Remarks

The elements that are copied to the array are DictionaryEntry elements. Each DictionaryEntry contains a key and value from the table.

See Also

Project VBCorLib Overview | Class Hashtable Overview