[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Copies the elements of this collection to an array, starting at a particular index. Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

Visual Basic
Dim instance As ManagementPackConsoleTaskParameterProxyCollection
Dim array As String()
Dim arrayIndex As Integer

instance.CopyTo(array, arrayIndex)

Syntax

Visual Basic
Public Sub CopyTo ( _
		array As String(), _
		arrayIndex As Integer _
)
C#
public void CopyTo (
		string[] array,
		int arrayIndex
)
C++
public:
virtual void CopyTo (
		array<String^>^ array, 
		int arrayIndex
) sealed
J#
public final void CopyTo (
		String[] array, 
		int arrayIndex
)
JScript
public final function CopyTo (
		array : String[], 
		arrayIndex : int
)

Parameters

array

A one-dimensional array that is the destination of the elements copied from this collection. The destination array must have zero-based indexing.

arrayIndex

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003

See Also