The CopyTo Method includes members that are available as an add-on to the LEADTOOLS Imaging Pro, Document, and Medical Imaging toolkits.
- array
- The one-dimensional Array that is the destination of the DelegatedServer copied from collection.
- arrayIndex
- The zero-based index in the array at which copying begins.
Visual Basic (Declaration) | |
---|---|
Public Overridable Sub CopyTo( _ ByVal array() As DelegatedServer, _ ByVal arrayIndex As Integer _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As DelegatedServersCollection Dim array() As DelegatedServer Dim arrayIndex As Integer instance.CopyTo(array, arrayIndex) |
C# | |
---|---|
public virtual void CopyTo( DelegatedServer[] array, int arrayIndex ) |
C++/CLI | |
---|---|
public: virtual void CopyTo( array<DelegatedServer^>^ array, int arrayIndex ) |
Parameters
- array
- The one-dimensional Array that is the destination of the DelegatedServer copied from collection.
- arrayIndex
- The zero-based index in the array at which copying begins.
This method uses System.Array.Copy to copy the elements.
The elements are copied to the Array in the same order in which the enumerator iterates through the List.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7