AbstractDictionary.CopyTo Method

This element is introduced in Windows PowerShell 5.0.


Namespace: Microsoft.OneGet.Utility.Collections
Assembly: Microsoft.OneGet.Utility (in Microsoft.OneGet.Utility.dll)

'Usage
Dim instance As AbstractDictionary(Of TKey, TVal)
Dim array As KeyValuePair(Of TKey, TVal)()
Dim arrayIndex As Integer

instance.CopyTo(array, arrayIndex)

public virtual void CopyTo (
	KeyValuePair<TKey,TVal>[] array,
	int arrayIndex
)
public void CopyTo (
	KeyValuePair<TKey,TVal>[] array, 
	int arrayIndex
)
public function CopyTo (
	array : KeyValuePair<TKey,TVal>[], 
	arrayIndex : int
)

Parameters

array

arrayIndex

Exception typeCondition
IndexOutOfRangeException

Not enough room in target array.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms


Show: