Spread for ASP.NET 10 Product Documentation
CopyTo Method (StringCollection)


One-dimension array that is the destination of the string values copied from the collection.
Zero-based index in array at which copying begins.
Copies the string values in the collection to an array, starting at the specified array index.
Syntax
'Declaration
 
Public Sub CopyTo( _
   ByVal array() As String, _
   ByVal arrayIndex As Integer _
) 
'Usage
 
Dim instance As StringCollection
Dim array() As String
Dim arrayIndex As Integer
 
instance.CopyTo(array, arrayIndex)
public void CopyTo( 
   string[] array,
   int arrayIndex
)

Parameters

array
One-dimension array that is the destination of the string values copied from the collection.
arrayIndex
Zero-based index in array at which copying begins.
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

StringCollection Class
StringCollection Members

 

 


Copyright © GrapeCity, inc. All rights reserved.