共用方式為


ISnapshotDifference.TranslateToSnapshot(SnapshotPoint) Method

Definition

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.

Applies to