LEADTOOLS Medical (Leadtools.Medical.Workstation assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
CopyTo Method
See Also 
Leadtools.Medical.Workstation Namespace > ModalityOptionsCollection Class : CopyTo Method




array
The array to copy the ModalityOptionsCollection to.
arrayIndex
The index of the array to start the copying to.
array
The array to copy the ModalityOptionsCollection to.
arrayIndex
The index of the array to start the copying to.
Copies all of the items in the ModalityOptionsCollection to the specified one-dimensional array starting at the specified index.

Syntax

Visual Basic (Declaration) 
Public Sub CopyTo( _
   ByVal array() As KeyValuePair(Of ModalityType,ModalityOptions), _
   ByVal arrayIndex As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As ModalityOptionsCollection
Dim array() As KeyValuePair(Of ModalityType,ModalityOptions)
Dim arrayIndex As Integer
 
instance.CopyTo(array, arrayIndex)
C# 
public void CopyTo( 
   KeyValuePair<ModalityType,ModalityOptions>[] array,
   int arrayIndex
)
Managed Extensions for C++ 
public: void CopyTo( 
   KeyValuePair<ModalityType,ModalityOptions*>[]* array,
   int arrayIndex
) 
C++/CLI 
public:
void CopyTo( 
   array<KeyValuePair<ModalityType,ModalityOptions^>>^ array,
   int arrayIndex
) 

Parameters

array
The array to copy the ModalityOptionsCollection to.
arrayIndex
The index of the array to start the copying to.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also