CopyTo Method

Summary
Copies the items of the collection to a Renderer array, starting at a specified array index.
Syntax
C#
C++/CLI
public void CopyTo( 
   Renderer[] array, 
   int arrayIndex 
) 
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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

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