CopyTo Method (NamedObjectCollection<T>)
In This Topic
Copies the collection objects to a one-dimensional
System.Array instance beginning at the specified index.
Syntax
'Declaration
Public Sub CopyTo( _
ByVal () As , _
ByVal As Integer _
)
'Usage
Dim instance As NamedObjectCollection(Of T)
Dim array() As T
Dim index As Integer
instance.CopyTo(array, index)
public void CopyTo(
[] ,
int
)
Parameters
- array
- The one-dimensional System.Array that is the destination of the values copied from the collection.
- index
- The index of the array at which to begin inserting.
See Also