ISnapshotDifference.MapToSourceSnapshot Method

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)

Syntax

'Declaration
Function MapToSourceSnapshot ( _
    inlinePoint As SnapshotPoint _
) As SnapshotPoint
SnapshotPoint MapToSourceSnapshot(
    SnapshotPoint inlinePoint
)
SnapshotPoint MapToSourceSnapshot(
    SnapshotPoint inlinePoint
)
abstract MapToSourceSnapshot : 
        inlinePoint:SnapshotPoint -> SnapshotPoint
function MapToSourceSnapshot(
    inlinePoint : SnapshotPoint
) : SnapshotPoint

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.SnapshotPoint
The corresponding location on either the left or right buffers.

Remarks

Locations inside matching text always map to the right buffer.

.NET Framework Security

See Also

Reference

ISnapshotDifference Interface

Microsoft.VisualStudio.Text.Differencing Namespace