| 
TypedSortedListEx
 TKey
,
 TValue
CopyTo Method (
KeyValuePair
 TKey
,
 TValue
, Int32)
  | 
 Copies the elements of the collection to an array, starting at a particular array index.
 Namespace:
 Spire.Doc.Collections
 Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
 Syntax
Syntax
 
 
public void CopyTo(
	KeyValuePair<TKey, TValue>[] array,
	int arrayIndex
)
 
Public Sub CopyTo ( 
	array As KeyValuePair(Of TKey, TValue)(),
	arrayIndex As Integer
)
 
public:
virtual void CopyTo(
	array<KeyValuePair<TKey, TValue>>^ array, 
	int arrayIndex
) sealed
 
abstract CopyTo : 
array : KeyValuePair<'TKey, 'TValue>[] * 
arrayIndex : int -> unit 
override CopyTo : 
array : KeyValuePair<'TKey, 'TValue>[] * 
arrayIndex : int -> unit 
 
 
 
Parameters
 
- 
array
 
- 
 Type:
 
System.Collections.Generic
KeyValuePair
 
 TKey
 ,
 
 TValue
 The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing.
- 
arrayIndex
 
- 
 Type:
 
System
Int32
 
 The zero-based index in array at which copying begins.
Implements
 
ICollection
T
CopyTo(
T
, Int32)
 
 
 See Also
See Also