NormalizedSnapshotSpanCollection::CopyTo Method (Array^, Int32)
Visual Studio 2015
Copies the snapshot spans in this collection to the specified array, starting at the specified index.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Parameters
- array
-
Type:
System::Array^
The array.
- index
-
Type:
System::Int32
The location at which to start copying.
Implements
ICollection::CopyTo(Array^, Int32)| Exception | Condition |
|---|---|
| ArgumentNullException | array is null. |
| ArgumentException | array is not one-dimensional. |
| ArgumentOutOfRangeException | index is negative, or greater than the length of the array, or the number of spans is greater than the length of the array less the index. |
Show: