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.ArrayThe array to copy the host items to.
index
Type: System.Int32The 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ProjectHostItemCollection Class
ProjectHostItemCollection Members
Microsoft.VisualStudio.Tools.Applications.DesignTime Namespace