Partager via


ManagementPackConsoleTaskParameterProxyCollection.CopyTo Method

[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

'Usage
Dim instance As ManagementPackConsoleTaskParameterProxyCollection
Dim array As String()
Dim arrayIndex As Integer

instance.CopyTo(array, arrayIndex)

Syntax

'Declaration
Public Sub CopyTo ( _
    array As String(), _
    arrayIndex As Integer _
)
public void CopyTo (
    string[] array,
    int arrayIndex
)
public:
virtual void CopyTo (
    array<String^>^ array, 
    int arrayIndex
) sealed
public final void CopyTo (
    String[] array, 
    int arrayIndex
)
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 Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

ManagementPackConsoleTaskParameterProxyCollection Class
ManagementPackConsoleTaskParameterProxyCollection Members
Microsoft.EnterpriseManagement.Configuration Namespace