'Usage Dim instance As TdErrorCollection Dim array As Array Dim index As Integer instance.CopyTo(array, index)
Parameters
- array
- Target array.
- index
- The starting point in array at which copying begins.
'Usage Dim instance As TdErrorCollection Dim array As Array Dim index As Integer instance.CopyTo(array, index)
Exception | Description |
---|---|
System.ArgumentNullException | array is a null reference (nothing in Visual Basic). |
System.ArgumentOutOfRangeException | index is less than zero. |
System.ArgumentException | 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. |
System.ArgumentException | array cannot be cast to an array of type TdError (TdError[]). |
Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019