←Select platform

CopyTo Method

Summary

Copies all the elements of the collection to the specified one-dimensional array starting at the specified destination array index.

Syntax

C#
VB
C++
public virtual void CopyTo( 
   T[] array, 
   int arrayIndex 
) 
Public Overridable Sub CopyTo( _ 
   ByVal array() As T, _ 
   ByVal arrayIndex As Integer _ 
)  
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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly