IPersistentSpanFactory::Create Method (SnapshotSpan, SpanTrackingMode)
Visual Studio 2015
Creates an IPersistentSpan for a snapshot span on a document that is currently open.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Parameters
- span
-
Type:
Microsoft.VisualStudio.Text::SnapshotSpan
The span as character offsets from the start of the file.
- trackingMode
-
Type:
Microsoft.VisualStudio.Text::SpanTrackingMode
The SpanTrackingMode that determines how the tracking span will react to changes at its boundaries.
Show: