IBufferGraph::CreateMappingSpan Method (SnapshotSpan, SpanTrackingMode)
Visual Studio 2015
Initializes a new instance of a IMappingSpan.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Parameters
- span
-
Type:
Microsoft.VisualStudio.Text::SnapshotSpan
A SnapshotSpan in one of the buffers of the graph.
- trackingMode
-
Type:
Microsoft.VisualStudio.Text::SpanTrackingMode
How to track the span.
Return Value
Type: Microsoft.VisualStudio.Text::IMappingSpan^A IMappingSpan that can track within its buffer and map within the graph.
Show: