CSharpTest.Net
CopyTo Method
See Also  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Collections Namespace > BTreeDictionary<TKey,TValue> Class : CopyTo Method

array
arrayIndex

Glossary Item Box

Copies the elements of the ICollection to an System.Array, starting at a particular System.Array index.

Syntax

Visual Basic (Declaration) 
Public Sub CopyTo( _
   ByVal array() As KeyValuePair(Of TKey,TValue), _
   ByVal arrayIndex As Integer _
) 
C# 
public void CopyTo( 
   KeyValuePair<TKey,TValue>[] array,
   int arrayIndex
)

Parameters

array
arrayIndex

Exceptions

ExceptionDescription
System.ArgumentNullExceptionThe exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.
System.ArgumentOutOfRangeExceptionThe exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method.

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys