ISnapshotDifference.TranslateToSnapshot(SnapshotPoint) 方法

定义

将指定点转换为与快照差异关联的相应快照。

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

参数

point
SnapshotPoint

要转换的 SnapshotPoint。

返回

SnapshotPoint

point 从其快照转换到此。LeftBufferSnapshot,此为。RightBufferSnapshot 或。InlineBufferSnapshot.

适用于