Bearbeiten

Freigeben über


BamlLocalizationDictionary.CopyTo(DictionaryEntry[], Int32) Method

Definition

Copies the contents of a BamlLocalizationDictionary object to a one-dimensional array of DictionaryEntry objects, starting at a specified index.

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

Parameters

array
DictionaryEntry[]

An array of objects to hold the data.

arrayIndex
Int32

The starting index value.

Exceptions

arrayIndex is less than zero.

arrayIndex exceeds the destination array length.

-or-

Copy cannot fit in the remaining array space between arrayIndex and the destination array length.

Applies to