GrapeCity.Win.MultiRow Namespace > RowCollection Class : CopyTo Method |
<FeatureAttribute(Name="RowCollection", Version="v5.0")> <TakeCellFreezeAttribute()> Public Sub CopyTo( _ ByVal array() As Row, _ ByVal arrayIndex As Integer _ )
Dim instance As RowCollection Dim array() As Row Dim arrayIndex As Integer instance.CopyTo(array, arrayIndex)
[Feature(Name="RowCollection", Version="v5.0")] [TakeCellFreeze()] public void CopyTo( Row[] array, int arrayIndex )
Exception | Description |
---|---|
System.ArgumentOutOfRangeException | The arrayIndex is less than 0. |
System.ArgumentNullException | The 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 RowCollection is greater than the available space from arrayIndex to the end 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