TimeRangeCollection..::..CopyTo Method
Copies the TimeRangeCollection values to a one-dimensional Array instance at the
specified index.
Namespace:
CAS.Lib.CodeProtect.LicenseDsc.ConstraintsAssembly: CAS.CodeProtect (in CAS.CodeProtect.dll)
Syntax
Parameters
- array
- Type: array<TimeRange>[]()[][]
The one-dimensional Array that is the destination of the values copied from TimeRangeCollection.
- index
- Type: Int32
The index in array where copying begins.
Exceptions
Exception | Condition |
---|---|
ArgumentException | array is multidimensional. -or- The number of elements in the TimeRangeCollection is greater than the available space between index and the end of array. |
ArgumentNullException | array is nullNothingnullptra null reference (Nothing in Visual Basic). |
ArgumentOutOfRangeException | index is less than array's low-bound. |