Spread Windows Forms 8.0 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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

Reference

StringCollection Class
StringCollection Members

 

 


Copyright © GrapeCity, inc. All rights reserved.