편집

다음을 통해 공유


PersonalizationDictionary.CopyTo(DictionaryEntry[], Int32) Method

Definition

Copies the personalization dictionary state entries as DictionaryEntry instances into the specified array.

public:
 virtual void CopyTo(cli::array <System::Collections::DictionaryEntry> ^ array, int index);
public virtual void CopyTo (System.Collections.DictionaryEntry[] array, int index);
abstract member CopyTo : System.Collections.DictionaryEntry[] * int -> unit
override this.CopyTo : System.Collections.DictionaryEntry[] * int -> unit
Public Overridable Sub CopyTo (array As DictionaryEntry(), index As Integer)

Parameters

array
DictionaryEntry[]

The array the DictionaryEntry instances are copied into.

index
Int32

The index location at which to begin copying.

Exceptions

array is multidimensional.

-or-

array is the wrong size based on the index parameter.

-or-

array has insufficient capacity to hold the values contained in the personalization dictionary.

array is null.

index is less than zero.

Remarks

Use this method to create an array of DictionaryEntry instances from the state entries in the personalization dictionary.

Applies to