Back to Devexpress

PresentationDictionary<TKey, TValue>.CopyTo(KeyValuePair<TKey, TValue>[], Int32) Method

officefileapi-devexpress-dot-docs-dot-presentation-dot-presentationdictionary-2-dot-copyto-x28-system-dot-collections-dot-generic-dot-keyvaluepair-0-1-system-dot-int32-x29.md

latest2.1 KB
Original Source

PresentationDictionary<TKey, TValue>.CopyTo(KeyValuePair<TKey, TValue>[], Int32) Method

Copies the elements of the dictionary to an array of key-value pairs, starting at the specified array index.

Namespace : DevExpress.Docs.Presentation

Assembly : DevExpress.Docs.Presentation.v25.2.dll

NuGet Package : DevExpress.Docs.Presentation

Declaration

csharp
public void CopyTo(
    KeyValuePair<TKey, TValue>[] array,
    int arrayIndex
)
vb
Public Sub CopyTo(
    array As KeyValuePair(Of TKey, TValue)(),
    arrayIndex As Integer
)

Parameters

NameTypeDescription
arrayKeyValuePair<TKey, TValue>[]

The one-dimensional array of key-value pairs that is the destination of the elements copied from the dictionary.

| | arrayIndex | Int32 |

The zero-based index in the array at which copying begins.

|

Implements

CopyTo(KeyValuePair<TKey, TValue>[], Int32)

See Also

PresentationDictionary<TKey, TValue> Class

PresentationDictionary<TKey, TValue> Members

DevExpress.Docs.Presentation Namespace