ITextVersion::CreateTrackingSpan Method (Span, SpanTrackingMode, TrackingFidelityMode)
Visual Studio 2015
Creates a ITrackingSpan in this version.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
ITrackingSpan^ CreateTrackingSpan( Span span, SpanTrackingMode trackingMode, TrackingFidelityMode trackingFidelity )
Parameters
- span
-
Type:
Microsoft.VisualStudio.Text::Span
The span of text in this snapshot that the ITrackingSpan should represent.
- 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 of the span.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException |
Show: