C1.WPF.DataGrid Namespace > DataGridCellsRangeCollection Class : CopyTo Method |
'Declaration
Public Sub CopyTo( _ ByVal array() As DataGridCellsRange, _ ByVal arrayIndex As System.Integer _ )
public void CopyTo( DataGridCellsRange[] array, System.int arrayIndex )
Exception | Description |
---|---|
System.ArgumentNullException | array is null. |
System.ArgumentOutOfRangeException | arrayIndex is less than 0. |
System.ArgumentException | array is multidimensional.-or-The number of elements in the source System.Collections.Generic.ICollection`1 is greater than the available space from arrayIndex to the end of the destination array.-or-Type cannot be cast automatically to the type 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