Span Constructor (Int32, Int32)
Visual Studio 2015
Initializes a new instance of a Span with the given start point and length.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Parameters
- start
-
Type:
System::Int32
The starting point of the span.
- length
-
Type:
System::Int32
The length of the span.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | start or length is less than zero, or (start + length) is greater than the length of the text snapshot. |
Show: