ISnapshotDifference::MapToSnapshot Method (SnapshotPoint, ITextSnapshot^, DifferenceMappingMode)
Visual Studio 2015
Map the specified SnapshotPoint to the specified ITextSnapshot.
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
SnapshotPoint MapToSnapshot( SnapshotPoint point, ITextSnapshot^ target, DifferenceMappingMode mode = DifferenceMappingMode::LineColumn )
Parameters
- point
-
Type:
Microsoft.VisualStudio.Text::SnapshotPoint
The point to map.
- target
-
Type:
Microsoft.VisualStudio.Text::ITextSnapshot^
The target snapshot.
- mode
-
Type:
Microsoft.VisualStudio.Text.Differencing::DifferenceMappingMode
The mode used when mapping between the left and right snapshots (or vice- versa) when point lies inside a difference.
Show: