ImageGear .NET
CopyTo Method (ImGearXMPArray<T>)




The one-dimensional System.Array that is the destination of the elements copied from ImGearXMPArray<T>. The System.Array must have zero-based indexing.
The zero-based index in array at which copying begins.
Copies the entire ImGearXMPArray<T> to a compatible one-dimensional array, starting at the specified index of the target array.
Syntax
'Declaration
 
Public Sub CopyTo( _
   ByVal array() As T, _
   ByVal arrayIndex As Integer _
) 
'Usage
 
Dim instance As ImGearXMPArray(Of T)
Dim array() As T
Dim arrayIndex As Integer
 
instance.CopyTo(array, arrayIndex)
public void CopyTo( 
   T[] array,
   int arrayIndex
)
public: void CopyTo( 
   T*[]* array,
   int arrayIndex
) 
public:
void CopyTo( 
   array<T^>^ array,
   int arrayIndex
) 

Parameters

array
The one-dimensional System.Array that is the destination of the elements copied from ImGearXMPArray<T>. The System.Array must have zero-based indexing.
arrayIndex
The zero-based index in array at which copying begins.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionarray is null.
System.ArgumentOutOfRangeExceptionarrayIndex is less than 0.
System.ArgumentException

arrayIndex is equal to or greater than the length of array.

-or-

The number of elements in the source ImGearXMPArray<T> is greater than the available space from arrayIndex to the end of the destination array.

See Also

Reference

ImGearXMPArray<T> Class
ImGearXMPArray<T> Members

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback