ITextVersion::CreateTrackingSpan Method (Int32, Int32, SpanTrackingMode, TrackingFidelityMode)
Visual Studio 2015
Creates a ITrackingSpan in this version.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
ITrackingSpan^ CreateTrackingSpan( int start, int length, SpanTrackingMode trackingMode, TrackingFidelityMode trackingFidelity )
Parameters
- start
-
Type:
System::Int32
The starting position of the ITrackingSpan in this snapshot.
- length
-
Type:
System::Int32
The length of the ITrackingSpan in this snapshot.
- trackingMode
-
Type:
Microsoft.VisualStudio.Text::SpanTrackingMode
How the ITrackingSpan will react to changes at its boundaries.
- trackingFidelity
-
Type:
Microsoft.VisualStudio.Text::TrackingFidelityMode
The tracking fidelity mode.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException |
Show: