Прочетете на английски Редактиране

Споделяне чрез


PersonalizationDictionary.ICollection.CopyTo(Array, Int32) Method

Definition

Implements the CopyTo(Array, Int32) method for the PersonalizationDictionary class.

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

Parameters

array
Array

An Array of DictionaryEntry items to copy into a PersonalizationDictionary.

index
Int32

The starting point in a PersonalizationDictionary at which to insert array.

Implements

Exceptions

array is not an array of DictionaryEntry items.

Remarks

The CopyTo method checks to determine whether array is an array of DictionaryEntry items, then calls the PersonalizationDictionary class's own CopyTo method, passing to it array and index.

Applies to

Продукт Версии
.NET Framework 2.0, 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

See also