Editare

Partajați prin


CharacterMetricsDictionary.CopyTo Method

Definition

Important

This API is not CLS-compliant.

Copies the items in the collection to an array, starting at a specific array index.

public:
 virtual void CopyTo(cli::array <System::Collections::Generic::KeyValuePair<int, System::Windows::Media::CharacterMetrics ^>> ^ array, int index);
[System.CLSCompliant(false)]
public void CopyTo (System.Collections.Generic.KeyValuePair<int,System.Windows.Media.CharacterMetrics>[] array, int index);
[<System.CLSCompliant(false)>]
abstract member CopyTo : System.Collections.Generic.KeyValuePair<int, System.Windows.Media.CharacterMetrics>[] * int -> unit
override this.CopyTo : System.Collections.Generic.KeyValuePair<int, System.Windows.Media.CharacterMetrics>[] * int -> unit
Public Sub CopyTo (array As KeyValuePair(Of Integer, CharacterMetrics)(), index As Integer)

Parameters

array
KeyValuePair<Int32,CharacterMetrics>[]

The one-dimensional array that is the destination of the elements that are copied from the CharacterMetricsDictionary.

index
Int32

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

Implements

Attributes

Applies to