Send feedback on this topic.
Teradata.Client.Provider
CopyTo(Array,Int32) Method



Teradata.Client.Provider Namespace > TdErrorCollection Class > CopyTo Method : CopyTo(Array,Int32) Method
Target array.
The starting point in array at which copying begins.
Copies the elements of the TdErrorCollection to the specified array.
Syntax
'Declaration
 
Public Overloads Sub CopyTo( _
   ByVal array As Array, _
   ByVal index As Integer _
) 
'Usage
 
Dim instance As TdErrorCollection
Dim array As Array
Dim index As Integer
 
instance.CopyTo(array, index)
public void CopyTo( 
   Array array,
   int index
)
public:
void CopyTo( 
   Array^ array,
   int index
) 

Parameters

array
Target array.
index
The starting point in array at which copying begins.
Exceptions
ExceptionDescription
array is a null reference (nothing in Visual Basic).
index is less than zero.
Indicates that array is multidimensional, or index is equal to or greater than the length, or the number of elements in TdErrorCollection is greater than the available space from index to the end of the destination array.
array cannot be cast to an array of type TdError (TdError[]).
Requirements

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdErrorCollection Class
TdErrorCollection Members
Overload List