ITextVersion::CreateTrackingSpan Method (Int32, Int32, SpanTrackingMode)
Visual Studio 2015
Creates a ITrackingSpan in this version.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Parameters
- start
-
Type:
System::Int32
The starting position of the ITrackingSpan in this version.
- length
-
Type:
System::Int32
The length of the ITrackingSpan in this version.
- trackingMode
-
Type:
Microsoft.VisualStudio.Text::SpanTrackingMode
How the ITrackingSpan will react to changes at its boundaries.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | start is negative or greater than the length of this version, or length is negative, or start + length is less than start, or trackingMode is equal to Custom. |
Show: