IBufferGraph.CreateMappingPoint Method
Visual Studio 2012
Creates a new IMappingPoint with the specified snapshot point and tracking mode.
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.IMappingPointA IMappingPoint that can track within its buffer and map within the graph.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.