Share via


ReadOnlyDictionary<TKey, TValue>.ICollection<KeyValuePair<TKey, TValue>>.CopyTo method

Namespace:  Microsoft.SharePoint.Taxonomy.Generic
Assembly:  Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)

Syntax

'Declaration
Private Sub CopyTo ( _
    array As KeyValuePair(Of TKey, TValue)(), _
    arrayIndex As Integer _
) Implements ICollection(Of KeyValuePair(Of TKey, TValue)).CopyTo
'Usage
Dim instance As ReadOnlyDictionary
Dim array As KeyValuePair(Of TKey, TValue)()
Dim arrayIndex As Integer

CType(instance, ICollection(Of KeyValuePair(Of TKey, TValue))).CopyTo(array, _
    arrayIndex)
void ICollection<KeyValuePair<TKey, TValue>>.CopyTo(
    KeyValuePair<TKey, TValue>[] array,
    int arrayIndex
)

Parameters

  • array
    Type: []

Implements

ICollection<T>.CopyTo([], Int32)

See also

Reference

ReadOnlyDictionary<TKey, TValue> class

ReadOnlyDictionary<TKey, TValue> members

Microsoft.SharePoint.Taxonomy.Generic namespace