LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
CopyTo Method
See Also 
Leadtools Namespace > RasterCollection<T> Class : CopyTo Method



array
The one-dimensional array that is the destination of the elements copied from the current collection.
arrayIndex
The index at which copying begins.
array
The one-dimensional array that is the destination of the elements copied from the current collection.
arrayIndex
The index at which copying begins.
Copies all the elements of the collection to the specified one-dimensional array starting at the specified destination array index.

Syntax

Visual Basic (Declaration) 
Public Overridable Sub CopyTo( _
   ByVal array() As T, _
   ByVal arrayIndex As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As RasterCollection(Of T)
Dim array() As T
Dim arrayIndex As Integer
 
instance.CopyTo(array, arrayIndex)
C# 
public virtual void CopyTo( 
   T[] array,
   int arrayIndex
)
C++/CLI 
public:
virtual void CopyTo( 
   array<T^>^ array,
   int arrayIndex
) 

Parameters

array
The one-dimensional array that is the destination of the elements copied from the current collection.
arrayIndex
The index at which copying begins.

Example

For an example, refer to RasterCollection<T>.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also