ISnapshotDifference.TranslateToSnapshot(SnapshotPoint) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Translate the specified point to the corresponding snapshot associated with snapshot difference.
public:
Microsoft::VisualStudio::Text::SnapshotPoint TranslateToSnapshot(Microsoft::VisualStudio::Text::SnapshotPoint point);
public Microsoft.VisualStudio.Text.SnapshotPoint TranslateToSnapshot (Microsoft.VisualStudio.Text.SnapshotPoint point);
abstract member TranslateToSnapshot : Microsoft.VisualStudio.Text.SnapshotPoint -> Microsoft.VisualStudio.Text.SnapshotPoint
Public Function TranslateToSnapshot (point As SnapshotPoint) As SnapshotPoint
Parameters
- point
- SnapshotPoint
SnapshotPoint to translate.
Returns
point
translated from its snapshot to this.LeftBufferSnapshot, this.RightBufferSnapshot, or this.InlineBufferSnapshot.