IMappingPoint Interface

A position in a ITextBuffer that can be mapped within a IBufferGraph.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

public interface IMappingPoint

The IMappingPoint type exposes the following members.

Public propertyAnchorBufferThe ITextBuffer from which this point was created.
Public propertyBufferGraphGets the IBufferGraph that this point uses to perform the mapping.

Public methodGetInsertionPointMaps the point to an insertion point in a matching ITextBuffer.
Public methodGetPoint(ITextBuffer, PositionAffinity)Maps the point to a particular ITextBuffer.
Public methodGetPoint(Predicate<ITextBuffer>, PositionAffinity)Maps the point to a matching ITextBuffer.
Public methodGetPoint(ITextSnapshot, PositionAffinity)Maps the point to a particular ITextSnapshot.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft