ProjectHostItemCollection.CopyTo Method

Copies the current host item collection starting at the specified index to the specified array.

Namespace:  Microsoft.VisualStudio.Tools.Applications.DesignTime
Assembly:  Microsoft.VisualStudio.Tools.Applications.DesignTime.v9.0 (in Microsoft.VisualStudio.Tools.Applications.DesignTime.v9.0.dll)

Syntax

'Declaration
Public Sub CopyTo ( _
    array As Array, _
    index As Integer _
)
'Usage
Dim instance As ProjectHostItemCollection 
Dim array As Array 
Dim index As Integer

instance.CopyTo(array, index)
public void CopyTo(
    Array array,
    int index
)
public:
virtual void CopyTo(
    Array^ array, 
    int index
) sealed
public final function CopyTo(
    array : Array, 
    index : int
)

Parameters

  • array
    Type: System.Array

    The array to copy the host items to.

  • index
    Type: System.Int32

    The starting index in the collection where to start copying the items.

Implements

ICollection.CopyTo(Array, Int32)

Remarks

This method is not implemented and throws a NotImplementedException.

.NET Framework Security

See Also

Reference

ProjectHostItemCollection Class

ProjectHostItemCollection Members

Microsoft.VisualStudio.Tools.Applications.DesignTime Namespace