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
inlinePoint
Type: Microsoft.VisualStudio.Text.SnapshotPointThe point to map.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.