Compartilhar via


ISnapshotDifference.MapToInlineSnapshot Method

Definition

Overloads

MapToInlineSnapshot(SnapshotPoint)

Map a point from either the left or right buffer to the inline snapshot.

MapToInlineSnapshot(SnapshotPoint, PositionAffinity)

Map a point from either the left or right buffer to the inline snapshot.

MapToInlineSnapshot(SnapshotPoint)

Map a point from either the left or right buffer to the inline snapshot.

public:
 Microsoft::VisualStudio::Text::SnapshotPoint MapToInlineSnapshot(Microsoft::VisualStudio::Text::SnapshotPoint point);
public Microsoft.VisualStudio.Text.SnapshotPoint MapToInlineSnapshot (Microsoft.VisualStudio.Text.SnapshotPoint point);
abstract member MapToInlineSnapshot : Microsoft.VisualStudio.Text.SnapshotPoint -> Microsoft.VisualStudio.Text.SnapshotPoint
Public Function MapToInlineSnapshot (point As SnapshotPoint) As SnapshotPoint

Parameters

point
SnapshotPoint

The point to map up.

Returns

A point in the InlineBufferSnapshot.

Remarks

This is equivalent to calling MapToSnapshot(point, snapshot.InlineBufferSnapshot).

Applies to

MapToInlineSnapshot(SnapshotPoint, PositionAffinity)

Map a point from either the left or right buffer to the inline snapshot.

public:
 Microsoft::VisualStudio::Text::SnapshotPoint MapToInlineSnapshot(Microsoft::VisualStudio::Text::SnapshotPoint point, Microsoft::VisualStudio::Text::PositionAffinity positionAffinity);
public Microsoft.VisualStudio.Text.SnapshotPoint MapToInlineSnapshot (Microsoft.VisualStudio.Text.SnapshotPoint point, Microsoft.VisualStudio.Text.PositionAffinity positionAffinity);
abstract member MapToInlineSnapshot : Microsoft.VisualStudio.Text.SnapshotPoint * Microsoft.VisualStudio.Text.PositionAffinity -> Microsoft.VisualStudio.Text.SnapshotPoint
Public Function MapToInlineSnapshot (point As SnapshotPoint, positionAffinity As PositionAffinity) As SnapshotPoint

Parameters

point
SnapshotPoint

The point to map up.

positionAffinity
PositionAffinity

Specifies whether the point in the inline buffer should be in the predecessor or successor buffer.

Returns

A point in the InlineBufferSnapshot.

Remarks

This is equivalent to calling MapToSnapshot(point, snapshot.InlineBufferSnapshot).

Applies to