Leadtools.Dicom.AddIn Namespace > ThreadSafeDictionary<TKey,TValue> Class : CopyTo Method |
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 )
Exception | Description |
---|---|
System.ArgumentNullException | array is null. |
System.ArgumentOutOfRangeException | arrayIndex is less than 0. |
System.ArgumentException | array 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. |
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