Leadtools.Jpip.Server Requires JPIP Module license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
CopyTo Method
See Also 
Leadtools.Jpip.Server Namespace > DelegatedServersCollection Class : CopyTo Method



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.
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.
Copies the entire List to a compatible one-dimensional array, starting at the specified index of the target array.

Syntax

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.

Remarks

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.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Jpip.Server requires a JPIP Module and a server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features