GrapeCity MultiRow Windows Forms Documentation
CopyTo Method (ComboBoxCell.ObjectCollection)


The destination array to which the contents are copied.
The index of the element in the destination array at which to start copying.
Copies the entire collection into an existing array of objects at a specified location within the array.
Syntax
Public Sub CopyTo( _
   ByVal destination() As Object, _
   ByVal arrayIndex As Integer _
) 
Dim instance As ComboBoxCell.ObjectCollection
Dim destination() As Object
Dim arrayIndex As Integer
 
instance.CopyTo(destination, arrayIndex)
public void CopyTo( 
   object[] destination,
   int arrayIndex
)

Parameters

destination
The destination array to which the contents are copied.
arrayIndex
The index of the element in the destination array at which to start copying.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionThe destination parameter is a null reference (Nothing in Visual Basic).
System.ArgumentOutOfRangeExceptionThe arrayIndex parameter is less than 0 or equal to or greater than the length of the destination or the number of elements in the ComboBoxCell.ObjectCollection is greater than the available space from arrayIndex to the end of the destination.
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

ComboBoxCell.ObjectCollection Class
ComboBoxCell.ObjectCollection Members

 

 


Copyright © GrapeCity, inc. All rights reserved.