GrapeCity MultiRow Windows Forms Documentation
CopyTo Method (ColumnHeaderSectionCollection)


A ColumnHeaderSection array that is the destination of the items copied from the ColumnHeaderSectionCollection.
The zero-based index in the array at which copying begins.
Copies the items from the collection into the specified ColumnHeaderSection array, starting at the specified index.
Syntax
<FeatureAttribute(Name="RowCollection", Version="v5.0")>
Public Sub CopyTo( _
   ByVal array() As ColumnHeaderSection, _
   ByVal arrayIndex As Integer _
) 
Dim instance As ColumnHeaderSectionCollection
Dim array() As ColumnHeaderSection
Dim arrayIndex As Integer
 
instance.CopyTo(array, arrayIndex)
[Feature(Name="RowCollection", Version="v5.0")]
public void CopyTo( 
   ColumnHeaderSection[] array,
   int arrayIndex
)

Parameters

array
A ColumnHeaderSection array that is the destination of the items copied from the ColumnHeaderSectionCollection.
arrayIndex
The zero-based index in the array at which copying begins.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeExceptionThe arrayIndex is less than 0.
System.ArgumentNullExceptionThe array is a null reference (Nothing in Visual Basic).
System.ArgumentException

The array is multidimensional.

-or-

The arrayIndex is equal to or greater than the length of the array.

-or-

The number of elements in the source ColumnHeaderSectionCollection is greater than the available space from arrayIndex to the end 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

ColumnHeaderSectionCollection Class
ColumnHeaderSectionCollection Members

 

 


Copyright © GrapeCity, inc. All rights reserved.