CopyTo Method (LineCollection)
Copies the lines in the collection to an array, starting at the specified array index.
'Declaration
Public Sub CopyTo( _
ByVal () As Line, _
ByVal As Integer _
)
'Usage
Dim instance As LineCollection
Dim array() As Line
Dim arrayIndex As Integer
instance.CopyTo(array, arrayIndex)
Parameters
- array
- One-dimension array that is the destination of the lines copied from the collection.
- arrayIndex
- Zero-based index in array at which copying begins.