Share via


SelectedNodeCollection.ICollection.CopyTo Method (Array, Int32)

 

Copies the elements of the ICollection to an Array, starting at a particular Array index.

Namespace:   Microsoft.ManagementConsole
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)

Syntax

void ICollection.CopyTo(
    Array array,
    int index
)
private:
virtual void CopyTo(
    Array^ array,
    int index
) sealed = ICollection::CopyTo
private abstract CopyTo : 
        array:Array *
        index:int -> unit
private override CopyTo : 
        array:Array *
        index:int -> unit
Private Sub CopyTo (
    array As Array,
    index As Integer
)
    Implements ICollection.CopyTo

Parameters

  • array
    Type: System.Array

    The one-dimensional Array that is the destination of the elements copied from ICollection. The Array must have zero-based indexing.

  • index
    Type: System.Int32

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

Implements

ICollection.CopyTo(Array, Int32)

See Also

SelectedNodeCollection Class
Microsoft.ManagementConsole Namespace

Return to top