Dundas Chart for ASP.NET
CopyTo Method
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > NamedImagesCollection Class : CopyTo Method


array

A one-dimensional array that is the destination of the copied elements (must use zero-based indexing).


The one-dimensional Array that is the destination of the elements copied from ArrayList. The Array must have zero-based indexing.
index

The zero-based index at which copying of items begins.


The zero-based index in array at which copying begins.

This method is used by all Chart collections to copy all items in the collection to an array, starting at a particular array index.


Copies the ArrayList or a portion of it to a one-dimensional array.

Syntax

Visual Basic (Declaration)  
Public Sub CopyTo( _
   ByVal array As Array, _
   ByVal index As Integer _
) 
Visual Basic (Usage) Copy Code
Dim instance As NamedImagesCollection
Dim array As Array
Dim index As Integer
 
instance.CopyTo(array, index)
C#  
public void CopyTo( 
   Array array,
   int index
)

Parameters

array

A one-dimensional array that is the destination of the copied elements (must use zero-based indexing).


The one-dimensional Array that is the destination of the elements copied from ArrayList. The Array must have zero-based indexing.
index

The zero-based index at which copying of items begins.


The zero-based index in array at which copying begins.

Remarks

Use this method to copy the contents of a collection to an array (0-based).

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.