This topic has not yet been rated - Rate this topic

IBufferGraph.CreateMappingPoint Method

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

Namespace:  Microsoft.VisualStudio.Text.Projection
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
IMappingPoint CreateMappingPoint(
	SnapshotPoint point,
	PointTrackingMode trackingMode
)

Parameters

point
Type: Microsoft.VisualStudio.Text.SnapshotPoint

A SnapshotPoint in one of the buffers of the graph.

trackingMode
Type: Microsoft.VisualStudio.Text.PointTrackingMode

How to track the point.

Return Value

Type: Microsoft.VisualStudio.Text.IMappingPoint
A IMappingPoint that can track within its buffer and map within the graph.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.