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
point
Type: Microsoft.VisualStudio.Text.SnapshotPointThe SnapshotPoint to translate.
Return Value
Type: Microsoft.VisualStudio.Text.SnapshotPoint
The point, translated from its snapshot to the corresponding LeftBufferSnapshot, RightBufferSnapshot, or InlineBufferSnapshot.
.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.