共用方式為


IBufferGraph.MapUpToBuffer Method

Include Protected Members
Include Inherited Members

Maps a position in the current snapshot of some buffer that is a member of the buffer graph to a snapshot of some buffer.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method MapUpToBuffer(SnapshotSpan, SpanTrackingMode, ITextBuffer) Maps a span in the current snapshot of some buffer that is a member of the buffer graph to a sequence of spans in a snapshot of a designated buffer.
Public method MapUpToBuffer(SnapshotPoint, PointTrackingMode, PositionAffinity, ITextBuffer) Maps a position in the current snapshot of some buffer that is a member of the buffer graph to a snapshot of some buffer.

Top

See Also

Reference

IBufferGraph Interface

Microsoft.VisualStudio.Text.Projection Namespace