ISnapshotDifference.TranslateToSnapshot(SnapshotPoint) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将指定点转换为与快照差异关联的相应快照。
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。
返回
point 从其快照转换到此。LeftBufferSnapshot,此为。RightBufferSnapshot 或。InlineBufferSnapshot.