Share via


ManagementPackReferenceCollection.CopyTo Method

Definition

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

public:
 virtual void CopyTo(cli::array <System::Collections::Generic::KeyValuePair<System::String ^, Microsoft::EnterpriseManagement::Configuration::ManagementPackReference ^>> ^ array, int arrayIndex);
public void CopyTo (System.Collections.Generic.KeyValuePair<string,Microsoft.EnterpriseManagement.Configuration.ManagementPackReference>[] array, int arrayIndex);
abstract member CopyTo : System.Collections.Generic.KeyValuePair<string, Microsoft.EnterpriseManagement.Configuration.ManagementPackReference>[] * int -> unit
override this.CopyTo : System.Collections.Generic.KeyValuePair<string, Microsoft.EnterpriseManagement.Configuration.ManagementPackReference>[] * int -> unit
Public Sub CopyTo (array As KeyValuePair(Of String, ManagementPackReference)(), arrayIndex As Integer)

Parameters

array
KeyValuePair<String,ManagementPackReference>[]

The array in which to copy items from the collection.

arrayIndex
Int32

The index in the array to start copying items into.

Implements

Applies to