CopyTo Method

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

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

Leadtools.MediaFoundation Assembly

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