共用方式為


IBufferGraph.MapUpToSnapshot Method

Include Protected Members
Include Inherited Members

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

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 MapUpToSnapshot(SnapshotSpan, SpanTrackingMode, ITextSnapshot) Maps a span in the current snapshot of a buffer that is a member of the buffer graph to a sequence of spans in a snapshot of a designated buffer.
Public method MapUpToSnapshot(SnapshotPoint, PointTrackingMode, PositionAffinity, ITextSnapshot) Maps a position in the current snapshot of a buffer that is a member of the buffer graph to the specified snapshot.

Top

See Also

Reference

IBufferGraph Interface

Microsoft.VisualStudio.Text.Projection Namespace