ReadOnlyDictionary<TKey, TValue>.CopyTo Method
Copies items from a read-only dictionary to an array at a specific index.
Namespace: Microsoft.SharePoint.BusinessData.Infrastructure.Collections.Client
Assembly: Microsoft.SharePoint.BusinessData.Administration.Client (in Microsoft.SharePoint.BusinessData.Administration.Client.dll)
Syntax
'Declaration
Public Sub CopyTo ( _
array As KeyValuePair(Of TKey, TValue)(), _
arrayIndex As Integer _
)
'Usage
Dim instance As ReadOnlyDictionary
Dim array As KeyValuePair(Of TKey, TValue)()
Dim arrayIndex As Integer
instance.CopyTo(array, arrayIndex)
public void CopyTo(
KeyValuePair<TKey, TValue>[] array,
int arrayIndex
)
Parameters
array
Type: []The destination array.
arrayIndex
Type: System.Int32The array index to start copying at.
Implements
IReadOnlyCollection<T>.CopyTo([], Int32)
See Also
Reference
ReadOnlyDictionary<TKey, TValue> Class
ReadOnlyDictionary<TKey, TValue> Members
Microsoft.SharePoint.BusinessData.Infrastructure.Collections.Client Namespace