CreateMappingPoint Method

IBufferGraph.CreateMappingPoint Method (SnapshotPoint, PointTrackingMode)

 

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.

Return to top
Show:
© 2016 Microsoft