Version

CopyTo Method (ErrorCollection)

Copies the elements of the ErrorCollection to an Error array, starting at a particular index.
Syntax
'Declaration
 
Public Sub CopyTo( _
   ByVal array() As Error, _
   ByVal index As Integer _
) 
public void CopyTo( 
   Error[] array,
   int index
)

Parameters

array
The one-dimensional array where all errors in the collection should be copied.
index
The zero-based index into the array at which to start copying errors.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also