ISnapshotDifference::MapToSourceSnapshot Method (SnapshotPoint)

 

Maps the specified SnapshotPoint in the inline buffer to its corresponding location in the left or right snapshots.

Namespace:   Microsoft.VisualStudio.Text.Differencing
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

SnapshotPoint MapToSourceSnapshot(
	SnapshotPoint inlinePoint
)

Parameters

inlinePoint
Type: Microsoft.VisualStudio.Text::SnapshotPoint

The point to map.

Return Value

Type: Microsoft.VisualStudio.Text::SnapshotPoint

The corresponding location on either the left or right buffers.

Locations inside matching text always map to the right buffer.

Return to top
Show: