OrderedDictionary.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
'Usage
Dim instance As OrderedDictionary(Of TKey, TValue)
Dim array As KeyValuePair(Of TKey, TValue)()
Dim arrayIndex As Integer
instance.CopyTo(array, arrayIndex)
Syntax
'Declaration
Public Sub CopyTo ( _
array As KeyValuePair(Of TKey, TValue)(), _
arrayIndex As Integer _
)
public void CopyTo (
KeyValuePair<TKey,TValue>[] array,
int arrayIndex
)
public:
virtual void CopyTo (
array<KeyValuePair<TKey, TValue>>^ array,
int arrayIndex
) sealed
public final void CopyTo (
KeyValuePair<TKey,TValue>[] array,
int arrayIndex
)
public final function CopyTo (
array : KeyValuePair<TKey,TValue>[],
arrayIndex : int
)
Parameters
- array
- arrayIndex
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Target Platforms
See Also
Reference
OrderedDictionary Generic Class
OrderedDictionary Members
Microsoft.OneGet.Utility.Collections Namespace