XmlnsDictionary.CopyTo Method

Definition

Copies the entries in the XmlnsDictionary to a specified array.

Overloads

CopyTo(Array, Int32)

Copies the entries in the XmlnsDictionary to the specified array.

CopyTo(DictionaryEntry[], Int32)

Copies the entries in the XmlnsDictionary to the specified DictionaryEntry array.

CopyTo(Array, Int32)

Copies the entries in the XmlnsDictionary to the specified array.

C#
public void CopyTo(Array array, int index);

Parameters

array
Array

The array to copy the table data into.

index
Int32

The zero-based index in the destination array where copying starts.

Implements

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

CopyTo(DictionaryEntry[], Int32)

Copies the entries in the XmlnsDictionary to the specified DictionaryEntry array.

C#
public void CopyTo(System.Collections.DictionaryEntry[] array, int index);

Parameters

array
DictionaryEntry[]

The array to copy the table data into.

index
Int32

The zero-based index in the destination array where copying starts.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10