Partager via


ISnapshotDifference.TranslateToSnapshot Method

Translates the specified point to the corresponding snapshot associated with the snapshot difference.

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

Syntax

'Declaration
Function TranslateToSnapshot ( _
    point As SnapshotPoint _
) As SnapshotPoint
SnapshotPoint TranslateToSnapshot(
    SnapshotPoint point
)
SnapshotPoint TranslateToSnapshot(
    SnapshotPoint point
)
abstract TranslateToSnapshot : 
        point:SnapshotPoint -> SnapshotPoint
function TranslateToSnapshot(
    point : SnapshotPoint
) : SnapshotPoint

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.SnapshotPoint
The point, translated from its snapshot to the corresponding LeftBufferSnapshot, RightBufferSnapshot, or InlineBufferSnapshot.

.NET Framework Security

See Also

Reference

ISnapshotDifference Interface

Microsoft.VisualStudio.Text.Differencing Namespace