ISnapshotDifference.MapToSourceSnapshot(SnapshotPoint) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Map the specified SnapshotPoint in the inline buffer to its corresponding location in the left or right snapshots.
public:
Microsoft::VisualStudio::Text::SnapshotPoint MapToSourceSnapshot(Microsoft::VisualStudio::Text::SnapshotPoint inlinePoint);
public Microsoft.VisualStudio.Text.SnapshotPoint MapToSourceSnapshot (Microsoft.VisualStudio.Text.SnapshotPoint inlinePoint);
abstract member MapToSourceSnapshot : Microsoft.VisualStudio.Text.SnapshotPoint -> Microsoft.VisualStudio.Text.SnapshotPoint
Public Function MapToSourceSnapshot (inlinePoint As SnapshotPoint) As SnapshotPoint
Parameters
- inlinePoint
- SnapshotPoint
Point to map.
Returns
Corresponding location on either the left or right buffers.
Remarks
Locations inside matching text will always map to the right buffer.