CopyTo Method

Summary
Copies the items of the collection to a Renderer array, starting at a specified array index.
Syntax
C#
VB
C++
public void CopyTo( 
   Renderer[] array, 
   int arrayIndex 
) 
Public Sub CopyTo( _ 
   ByVal array() As Renderer, _ 
   ByVal arrayIndex As Integer _ 
)  
public: 
void CopyTo(  
   array<Renderer^>^ array, 
   int arrayIndex 
)  

Parameters

array
The one-dimensional array that is the destination of the items to be copied from the collection.

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

Exceptions

ExceptionDescription
System.ArgumentNullExceptionThe exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.
System.ArgumentOutOfRangeExceptionThe exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method.
System.ArgumentExceptionThe exception that is thrown when one of the arguments provided to a method is not valid.
Remarks

The Array must have zero-based indexing.

Requirements

Target Platforms

See Also

Reference

Renderers Class

Renderers Members

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Multimedia Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.