IBufferGraph.CreateMappingPoint(SnapshotPoint, PointTrackingMode) Method

Definition

Creates a new IMappingPoint with the specified snapshot point and tracking mode.

public:
 Microsoft::VisualStudio::Text::IMappingPoint ^ CreateMappingPoint(Microsoft::VisualStudio::Text::SnapshotPoint point, Microsoft::VisualStudio::Text::PointTrackingMode trackingMode);
public Microsoft.VisualStudio.Text.IMappingPoint CreateMappingPoint (Microsoft.VisualStudio.Text.SnapshotPoint point, Microsoft.VisualStudio.Text.PointTrackingMode trackingMode);
abstract member CreateMappingPoint : Microsoft.VisualStudio.Text.SnapshotPoint * Microsoft.VisualStudio.Text.PointTrackingMode -> Microsoft.VisualStudio.Text.IMappingPoint
Public Function CreateMappingPoint (point As SnapshotPoint, trackingMode As PointTrackingMode) As IMappingPoint

Parameters

point
SnapshotPoint

A SnapshotPoint in one of the buffers of the graph.

trackingMode
PointTrackingMode

How to track the point.

Returns

A IMappingPoint that can track within its buffer and map within the graph.

Applies to