ISnapshotDifference::TranslateToSnapshot Method (SnapshotPoint)

 

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)

SnapshotPoint TranslateToSnapshot(
	SnapshotPoint point
)

Parameters

point
Type: Microsoft.VisualStudio.Text::SnapshotPoint

The SnapshotPoint to translate.

Return Value

Type: Microsoft.VisualStudio.Text::SnapshotPoint

The point, translated from its snapshot to the corresponding LeftBufferSnapshot, RightBufferSnapshot, or InlineBufferSnapshot.

Return to top
Show: