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


The destination array into which the contents will be 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 ListLabelCell.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 into which the contents will be 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 is less than 0 or equal to or greater than the length of the destination. -or- The number of elements in the ListLabelCell.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

ListLabelCell.ObjectCollection Class
ListLabelCell.ObjectCollection Members

 

 


Copyright © GrapeCity, inc. All rights reserved.