Share via


ISnapshotDifference.MapToSourceSnapshot(SnapshotPoint) Method

Definition

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.

Applies to