Partager via


IProjectionSnapshot.MapFromSourceSnapshot Method

Include Protected Members
Include Inherited Members

Maps from a snapshot point in one of the source snapshots to the corresponding position in the projection 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 MapFromSourceSnapshot(SnapshotSpan) Maps a snapshot span of a source buffer to a list of spans of the projection snapshot.
Public method MapFromSourceSnapshot(SnapshotPoint, PositionAffinity) Maps from a snapshot point in one of the source snapshots to the corresponding position in the projection snapshot.

Top

See Also

Reference

IProjectionSnapshot Interface

Microsoft.VisualStudio.Text.Projection Namespace