Exception | Description |
---|---|
System.ArgumentNullException | Thrown when array is supplied to this method as null (Nothing in Visual Basic .NET) |
System.ArgumentOutOfRangeException | Thrown when index is less than zero. |
System.ArgumentException | Thrown when index exceeds the space alloted in array, or when copying elements starting at index would exceed the space alloted in array were it to be allowed, or when array is a multi-dimensional array. |
Developers can use this method to copy the DataBindingCollection for their own purposes. One example would be to use CopyTo in order to maintain a copy in an array that could be used in the implementation or override of multiple data-binding operations when registering ScheduleDataBindings at the beginning of the operation with AddRange.
Target Platforms: Windows 10, Windows 8.1, Windows 8, 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