LEADTOOLS Medical (Leadtools.Dicom.AddIn assembly)
LEAD Technologies, Inc

CopyTo Method (ThreadSafeDictionary<TKey,TValue>)






The one-dimensional System.Array that is the destination of the elements copied from ICollection. The System.Array must have zero-based indexing.
The zero-based index in array at which copying begins.
Copies the elements of the ICollection to an System.Array, starting at a particular System.Array index.
Syntax
public virtual void CopyTo( 
   KeyValuePair<TKey,TValue>[] array,
   int arrayIndex
)
'Declaration
 
Public Overridable Sub CopyTo( _
   ByVal array() As KeyValuePair(Of TKey,TValue), _
   ByVal arrayIndex As Integer _
) 
'Usage
 
Dim instance As ThreadSafeDictionary(Of TKey,TValue)
Dim array() As KeyValuePair(Of TKey,TValue)
Dim arrayIndex As Integer
 
instance.CopyTo(array, arrayIndex)
public virtual void CopyTo( 
   KeyValuePair<TKey,TValue>[] array,
   int arrayIndex
)
 function Leadtools.Dicom.AddIn.ThreadSafeDictionary.CopyTo( 
   array ,
   arrayIndex 
)
public:
virtual void CopyTo( 
   array<KeyValuePair<TKey^,TValue^>>^ array,
   int arrayIndex
) 

Parameters

array
The one-dimensional System.Array that is the destination of the elements copied from ICollection. The System.Array must have zero-based indexing.
arrayIndex
The zero-based index in array at which copying begins.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionarray is null.
System.ArgumentOutOfRangeExceptionarrayIndex is less than 0.
System.ArgumentExceptionarray is multidimensional. -or- arrayIndex is equal to or greater than the length of array. -or- The number of elements in the source ICollection is greater than the available space from arrayIndex to the end of the destination array. -or- Type T cannot be cast automatically to the type of the destination array.
Requirements

Target Platforms: 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

Reference

ThreadSafeDictionary<TKey,TValue> Class
ThreadSafeDictionary<TKey,TValue> Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Dicom.AddIn requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features