Partager via


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)

Syntax

'Declaration
Public Interface IMappingPoint
public interface IMappingPoint
public interface class IMappingPoint
type IMappingPoint =  interface end
public interface IMappingPoint

The IMappingPoint type exposes the following members.

Properties

  Name Description
Public property AnchorBuffer The ITextBuffer from which this point was created.
Public property BufferGraph Gets the IBufferGraph that this point uses to perform the mapping.

Top

Methods

  Name Description
Public method GetInsertionPoint Maps the point to an insertion point in a matching ITextBuffer.
Public method GetPoint(ITextBuffer, PositionAffinity) Maps the point to a particular ITextBuffer.
Public method GetPoint(Predicate<ITextBuffer>, PositionAffinity) Maps the point to a matching ITextBuffer.
Public method GetPoint(ITextSnapshot, PositionAffinity) Maps the point to a particular ITextSnapshot.

Top

See Also

Reference

Microsoft.VisualStudio.Text Namespace