IBufferGraph.CreateMappingPoint(SnapshotPoint, PointTrackingMode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.